Golang gRPC | Build a Unary Service Method - Part 1
ฝัง
- เผยแพร่เมื่อ 21 พ.ย. 2024
- Use Protobuf and Golang to build a Unary gRPC service.
In this video I introduce you to gRPC using the Go programming language. I walk you through the process of building a service definition using Protocol Buffers, and then implementing the client and server code for a gRPC User Management Service.
PREREQUISITES QUICK START GUIDE: grpc.io/docs/l...
GitHub Code: github.com/tec...
Introduction: 00:00 - 01:05
User Management Service Definition: 01:06 - 09:50
gRPC Server: 09:51 - 19:19
gRPC Client: 19:20 - 28:45
Conclusion: 28:46 - 29:46
This is the best golang/gRPC tutorial I have seen ultimately. I tried others, even udemy courses, they all seamed to miss something... a command that has changed, module creation failing, etc. Thank you!
Thanks a lot Pedro, I really appreciate this feedback. I'm sure with time some of the things you mentioned will happen with this tutorial as well (like API's changing or being deprecated) but I'm very glad that it's been helpful for you.
This is the best gRPC for Go lesson I`ve ever find in the TH-cam. All information is actual. I did all and it works! Thank You very much for this lesson!
I'm very happy to hear that this tutorial still has relevant information. Thank you!
Good job on the explaining the code as you were writing it. I altered my folder structure and modified my protoc output locations and still got this working first try, so this is a testament to the quality of your tutorial.
Thanks a lot! I'm glad to hear it.
Thank you! A very clear and clean tutorial
Thanks for the tutorial, it helped me learning gRPC!
Well explained, thanks
thanks for the tutorial, so many garage kit.
Nice explanation ji
crystal clear explanation! keep up the awesome work!
simple and clear, thanks dude
Awesome tutorial.
Good intro
good tutorial
Neat tutorial, friend! Can you make explanation video about golang context?
Thank you for the suggestion! I will definitely consider including this topic in future videos
Thanks
Thank you very much sir, I hope you make tutorials on how to use Go with graphql ( gqlgen ) and database orm ( gorm ) with authentication ( jwt, auth0 ).
Thanks for the suggestion! I will definitely consider these topics for future videos.
Do you know why I get following error in running client_server:
Could not create user: rpc error: code = Unimplemented desc = method CreateNewUser not implemented
Hello, I tried to install golang gRPC on my system, but I'm having some administrative issues, like permission denied, can someone help please
Try running from an elevated command prompt (right click; run as administrator on windows or use sudo if on mac OS)
What other service methods are there and how do I know when and where to use this uinary one?
The CPU usage increases as the request is made to the grpc server written in Golang. Do you have a suggestion for this problem?
as a goland user, all this manual work and naming conventions are pure pain to watch lol
why so serious?
Never mind I have no idea what you are saying