Building Rpc Microservices With Mu
summary
mu is an RPC microservice framework built on gRPC Java with a functional layer over Cats Effect that autogenerates tagless-algebra Scala code via an SBT plugin, supports Proto and Avro serialization, FS2/Monix streaming and HTTP/2 multiplexing, and includes client and server resources. It has 20+ contributors, runs in production at 47°, and shows better binary-serialization performance than typical JSON HTTP setups; HTTP4s-based HTTP gateways remain experimental.
AI-written summary · about
chapters (13)
- 0:00Introduction and motivation
- 3:36Rest vs gRPC comparison
- 9:36Performance differences
- 12:07What is Mu framework
- 16:47Mu dependencies and features
- 19:58Defining contracts in IDL
- 23:11Serialization mechanisms
- 26:04Generating Scala code
- 28:54Implementing services
- 30:22Starting the server
- 33:14Creating clients
- 36:28Summary and roadmap
- 37:10Q&A
