Hello gRPC
November 20, 2025 · View on GitHub
Comprehensive gRPC examples and tutorials across 12+ programming languages
Learn gRPC with comprehensive tutorials, examples, and best practices for Java, Go, Python, Node.js, Rust, C++, C#, Kotlin, Swift, Dart, PHP, and TypeScript
A comprehensive collection of gRPC examples and tutorials covering microservices, distributed systems, and modern API development across multiple programming languages.
This repository demonstrates gRPC implementations across 12+ programming languages, featuring production-ready examples with Docker containers, Kubernetes deployment configurations, and service mesh integration patterns.
Supported Programming Languages & Frameworks
Complete gRPC implementations with identical functionality across all major programming languages:
gRPC Architecture & Communication Patterns
Communication Models
- Unary RPC - Simple request-response (like HTTP REST)
- Server Streaming - One request, multiple responses
- Client Streaming - Multiple requests, one response
- Bidirectional Streaming - Both sides send multiple messages independently
Architecture Patterns
- Microservices - Service-to-service communication
- API Gateway - HTTP/REST to gRPC transcoding
- Load Balancing - Client-side and server-side strategies
- Service Discovery - Consul, etcd, Kubernetes DNS integration
- Resilience - Circuit breakers, retries, fault tolerance
Feature Implementation Status
Implementation Matrix
| Language | Headers | TLS | Proxy | Docker | Build System | Unit Testing | Logging |
|---|---|---|---|---|---|---|---|
| Java | ✅ | ✅ mTLS | ✅ | ✅ | Maven | JUnit 5 | Log4j2 |
| Go | ✅ | ✅ mTLS | ✅ | ✅ | Go Modules | Go Testing | Logrus |
| Node.js | ✅ | ✅ TLS | ✅ | ✅ | npm | Mocha | Winston |
| TypeScript | ✅ | ✅ TLS | ✅ | ✅ | Yarn & TSC | Jest | Winston |
| Python | ✅ | ✅ mTLS | ✅ | ✅ | pip | unittest | logging |
| Rust | ✅ | ✅ mTLS | ✅ | ✅ | Cargo | Rust Test | log4rs |
| C++ | ✅ | ✅ mTLS | ✅ | ✅ | Bazel/CMake | Catch2 | glog |
| C# | ✅ | ✅ mTLS | ✅ | ✅ | NuGet | NUnit | log4net |
| Kotlin | ✅ | ✅ mTLS | ✅ | ✅ | Gradle | JUnit 5 | Log4j2 |
| Swift | ✅ | ✅ TLS | ✅ | ✅ | SPM | Swift Testing | swift-log |
| Dart | ✅ | ✅ TLS | ✅ | ✅ | Pub | Test | Logger |
| PHP | ✅ | ✅ mTLS | ✅ | ✅ | Composer | PHPUnit | Monolog |