Monitoring Caviar’s Migration From Monolith to Microservices
summary
Caviar breaks a Rails monolith into three separately deployed apps, adds distributed tracing via Datadog APM, ties traces to logs and errors through trace IDs in bugs mag and cabana, and implements cross-service headers by instrumenting ex-con middleware. Traces reveal that an ML service accounts for only a third of latency, a new fulfillment service caused an hour outage from P99 tail latency and retries, and adding tight p99 alerts plus removing unused DB reads fixes recurring slow requests.
AI-written summary · about
