Introducing gRPC Swift 2
Say hello to gRPC Swift 2: a major update that brings first-class concurrency support and more expressive APIs for a seamless developer experience.
→ swift.org/blog/grpc-swift-2/
The Swift Server Workgroup announced gRPC Swift 2, a major update enhancing the gRPC framework with modern Swift concurrency features like async/await for a more intuitive developer experience.
It generates type-safe client and server code from Protocol Buffers (.proto files), supporting efficient HTTP/2 communication via SwiftNIO and in-process testing transports. The package ecosystem includes grpc-swift-2 for core abstractions, grpc-swift-nio-transport for HTTP/2, grpc-swift-protobuf for code generation, and grpc-swift-extras for add-ons like OpenTelemetry tracing.
Key features include client-side load balancing, automatic retries, and a flexible interceptor layer for cross-cutting logic, making it ideal for scalable, cross-platform services on Linux and Apple platforms.
Category:
Tag:
Year: