#55 Golang - Get Started with gRPC in Golang – Server & Client

#55 Golang - Get Started with gRPC in Golang – Server & Client

3.756 Lượt nghe
#55 Golang - Get Started with gRPC in Golang – Server & Client
Welcome to this episode on gRPC with Golang! In this video, we’ll walk you through building scalable microservices using gRPC, a high-performance RPC framework. You'll learn to create both a server and a client in Go, using Protocol Buffers for message serialization and HTTP/2 for efficient communication. What you'll learn: - Why gRPC is faster and more efficient than REST - How to install and set up gRPC and Protobuf in Go - Defining proto files for message and service definitions - Generating Go code from Protocol Buffers - Implementing CRUD operations (Create, Read, Update, Delete) - Setting up a gRPC server and connecting a client - Running and testing your gRPC API Whether you're building microservices or efficient APIs, gRPC is a powerful tool for your Go projects. Make sure to follow along as we implement everything step by step! 📚 Topics covered:   1. Setting up gRPC and Protocol Buffers   2. Defining and compiling proto files   3. Implementing gRPC server in Go   4. Creating and testing a client for gRPC   🔗 Related resources:   - gRPC: https://grpc.io/ - Original video: https://www.codeheim.io/courses/Episode-55-Get-Started-with-gRPC-in-Golang--Server--Client-66e69b7d8b9a776c5a770228 - Source code: https://github.com/code-heim/go_55_grpc Timestamps: 00:00-01:13: Introduction & gRPC vs REST 01:13-01:54: Package installation 01:54-04:51: Protobuf definition 04:51-06:49: Generating Go code from Protocol Buffers 06:49-12:20: Server Implementation 12:20-14:33: Client Implementation 14:33-15:15: Server and client testing 15:15-15:37: Conclusion If you enjoyed this video, like, share, and subscribe for more Golang tutorials! #golang #grpc #protobuf #microservices #webdevelopment #apidesign #golang ------------------------------------------------------------------------------------------------------------------------- Buy my book 'Functional Programming with Go' here: - Amazon India: https://amzn.to/3VTUlxl - Amazon US: https://www.amazon.com/Functional-Programming-Go-implementation-English/dp/9355519877 - BPB Online (BPB): https://in.bpbonline.com/products/functional-programming-with-go