Beginners Guide to gRPC in Go!
Video Statistics and Information
Channel: TutorialEdge
Views: 57,741
Rating: undefined out of 5
Keywords: programming, tutorials, coding tutorials, tutorialedge, grpc go, client server grpc golang, golang grpc tutorial, beginners grpc tutorial in go
Id: BdzYdN_Zd9Q
Channel Id: undefined
Length: 18min 15sec (1095 seconds)
Published: Sat May 02 2020
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Love gRPC. Works great for our web apps.
Instead of importing
βgolang.org/x/net/contextβ
, I think you should really just be importingβcontextβ
. It was moved into the standard library all the way back in Go 1.7, and thex/net
package only exists for compatibility reasons at this point. Continuing to use it will just lead to confusion for people watching the videos.As someone who was a beginning with gRPC I learned that gRPC excels in backend to backend communication. There are things like gRPC Gateway to help with http endpoints but the moment you need to deal with http authentication, cookies, or need to do anything with the request or response it becomes quite messy and I didn't feel it was worth the trade off or the cognitive load.
Edit:
Just to clarify I love gRPC. 90% of our services use it but there are times when it's not an ideal choice.
can i use Grpc with go for video calling features? is bi directional will do the work efficiently?
Nice example.
How to validate inputs?