Unifying Frontend and Backend Development with Scala
summary
A unified RPC framework using Scala traits and case classes turns interfaces into callable endpoints: Airframe RPC serializes arguments with messagepack via fm-codec, generates clients with an sbt plugin, and runs on HTTP/1 (Finagle) or HTTP/2 (gRPC) backends without Protobuf/REST/OpenAPI. The project is a 20+ module OSS stack with Scala 2.12 and ~85% Scala.js support, and demonstrates ~16k req/s on Finagle vs ~40–50k req/s on HTTP/2 gRPC, showing it works at production latency and scale.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 3:18Challenges in frontend backend development
- 7:14Introducing Airframe RPC solution
- 10:54Scala.js for frontend development
- 17:53Reactive UI with Airframe Rx
- 18:13Remote procedure calls with Airframe
- 25:23Message serialization with Airframe Codec
- 30:17Performance comparison of RPC methods
- 33:29Generating clients and documentation
- 35:38Unified Scala development benefits
- 37:34Q&A session
