Develop seamless web services with Mu
summary
Mu generates service surface from annotations on traits and case classes, producing client and server code plus an SBT plugin to emit types for other languages via skeuomorph. It ships serializers (Protobuf via PBDirect, Avro, JSON), supports gRPC with Protobuf and HTTP routes, optional streaming, metrics and Kafka work planned. Benchmarks (MicroFire) show RPC+Protobuf about 2x lower latency than HTTP in tests. Tests run with in-memory testing utilities and tagless-final effects; the stack is modular and open source.
AI-written summary · about
chapters (11)
- 0:00Start
- 3:55Building a micro-hervice Focus on the business logic
- 5:28Making decisions
- 6:23Interface definition language
- 14:04Metrifier. Throughput
- 16:48How to select serialization format
- 17:40REST with Mu
- 20:01Service definition
- 20:17Building a server
- 21:54Building a client
- 22:51Testing
related talks
29mPure Scala Approach for Building Frontend and Backend Apps
27mProtobuf Goes Scala-First
36mScale By The Bay 2018 Unconference: Devon Stewart
32mProduction-ready direct-style Scala
34mMaterialize Typeclasses with Magnolia
41mHow to write microservices in Scala without Akka
43mAPI first with Swagger and Scala
32mMUnit: your new favorite Scala testing library?
