Services on Top, Monolith Underneath
summary
Braze runs a large Ruby monolith that stays as one codebase while teams create logical services by tagging routes and traces and feeding Datadog more granular names. The team adds DD Trace RB spans, a simple service annotations decorator on URLs, and renames workers to things like payment_async so Celery/Sidekiq no longer appears as a single blob. Datastores get logical names too (e.g. MongoDB users vs business objects). Result: clearer alerts, per-service SLOs, iterative quarterly work instead of a risky full refactor.
AI-written summary · about
chapters (12)
- 0:00Introduction and agenda
- 1:01About Braze and its platform
- 5:12Braze's Ruby monolith architecture
- 7:40Service bias in observability tools
- 9:48Challenges of monolith observability
- 10:51Breaking down monolith without refactoring
- 13:57Example app breakdown process
- 19:09Breaking down web services at Braze
- 20:35Breaking down async services
- 21:41Breaking down data stores
- 23:04Key takeaways and iterative refactoring
- 23:25Q&A session
