gRPC for Beginners
This hands-on workshop introduces gRPC, a modern RPC framework for building microservices. Learn Protocol Buffers, implement gRPC services from scratch, and explore communication patterns in Python. Discover how gRPC compares to REST APIs and use pre-configured Docker environments to test, benchmark, and monitor your services. By the end, you'll have practical knowledge to build communication with gRPC. Basic Python knowledge required. All tools and infrastructure provided—bring a laptop with Docker installed.
This workshop, "gRPC for Beginners", is a practical 3-hour introduction to gRPC tailored for Python developers.
You'll start by understanding RPC concepts and comparing gRPC with REST APIs to grasp when each is appropriate. Next, you'll dive into Protocol Buffers—gRPC's serialization format—and learn how to define services and messages. The core focus is building a complete gRPC service from scratch, implementing both server and client code.
We'll explore the four communication patterns (unary, server streaming, client streaming, and bidirectional streaming) with hands-on examples. You'll check your solutions with tests.
All exercises use a ready-to-use Docker Compose environment so you can focus entirely on writing gRPC code. By the end, you'll understand gRPC fundamentals and be equipped to build and optimize apps.
Requirements: Basic Python knowledge and Docker installed.
💼 Building at CTHINGS.CO, 💻 senior backend developer, 🏆 leader, 🐍 python lover, 🎮 gamer, 🕺 king of disco, 🎾🏀⚽️🥊🏈 love sport in every form, 🇵🇱 from Poland
I’m a Data Scientist with a strong foundation in Python and machine learning. I have great passion for NLP and statistics.