Building Microservices with Kotlin and gRPC
summary
Claims that gRPC plus Kotlin coroutines are production viable, that switching from HTTP/1 REST cuts infrastructure cost, and that official Kotlin gRPC support now exists. Implements a demo microservice game that uses Kotlin coroutines with gRPC and shows protobuf messages and binary HTTP/2 performance gains. Replaces Java StreamObservers with bi‑directional streaming via channels/flows and solves issues with closed channels using channelFlow and awaitClose. Demo migrates to the official Google Kotlin gRPC library and runs end to end.
AI-written summary · about
chapters (10)
- 0:00Start
- 8:45Riddle
- 17:57Scala ScalaPB
- 19:48Sample .proto file
- 26:14First look at proto
- 28:44The whole destroy method...
- 32:44We need a new hero!
- 33:16Destroy method is
- 38:06Expectation
- 41:08We have a stable kotlin support!
related talks
42mBuilding Microservices with Kotlin and gRPC
41mBuilding microservices with Kotlin and gRPC
47mRediscovering gRPC with Kotlin coroutines
50mEnabling Googley microservices with gRPC
49mBuilding fast microservices with binary protocol - introduction to gRPC
46mMicroservices Kotlin Benchmark: coroutines, virtual threads... the Match!
34mPainless Microservices with Kotlin
01h 01mBuilding Microservice Communication with gRPC
