Scaling Financial Automation on TypeBus
summary
Tally builds a code-first event platform called TypeBus that runs Scala case classes over akka streams and Kafka, using avro4s to wrap messages in an envelope and map canonical class names to topics. Request‑response works by embedding an Akka cluster actor address in messages, throughput to the database is rate‑limited with Akka Streams (example jobs produce ~150 ops/s while a legacy DB handles ~10/s), latency in private beta measures 50–150 ms, and the system supports rolling service swaps without DNS or load‑balancer changes.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:10Tabithas background
- 6:15Requirements
- 11:54TypeBus Implementation
- 17:09Data Modeling
- 19:04Service Discovery
- 20:59Configurable throughput management
- 23:24Recap
- 24:09Whats Next
- 25:09Questions








