Studio Notes

Studio Notes

Updates from the Mangobaz studio.

Slashing API Tail Latency: How We Reduced p99 Response Times from 480ms to 18ms Studio Notes

Slashing API Tail Latency: How We Reduced p99 Response Times from 480ms to 18ms

A production engineering retrospective on debugging extreme tail latency spikes in high-throughput backend APIs. We dissect why monitoring median (p50) latency creates false confidence, use CPU flame graphs and allocation profilers to isolate Gen 2 Garbage Collection pauses, eliminate heap churn using ArrayPool<T> and Span<byte>, and fix PostgreSQL query plan regressions under heavy concurrency.

13 min read Read article →
Inside Our Observability Stack: Slashing Monitoring Costs with OpenTelemetry & ClickHouse Studio Notes

Inside Our Observability Stack: Slashing Monitoring Costs with OpenTelemetry & ClickHouse

A transparent architectural case study on ditching proprietary SaaS monitoring vendors. We break down how we built a production-grade observability platform handling 3.2 billion spans per day using OpenTelemetry Collector tail-based sampling, ClickHouse columnar trace lakes, and eBPF continuous profiling, slashing our monthly infrastructure bill by 83%.

16 min read Read article →
Platform Engineering in Practice: Golden Paths and Ephemeral Environments Studio Notes

Platform Engineering in Practice: Golden Paths and Ephemeral Environments

An authoritative guide to the platform engineering revolution in 2026. Discover how elite engineering organizations eliminate DevOps ticket queues, cure Kubernetes YAML cognitive overload with the Score specification, deploy instant on-demand ephemeral preview environments with copy-on-write database branching, and establish self-service Golden Paths that slash developer onboarding from weeks to hours.

15 min read Read article →
Why We Left Cloud Serverless for Bare Metal (And Cut Our Infrastructure Bill by 74%) Studio Notes

Why We Left Cloud Serverless for Bare Metal (And Cut Our Infrastructure Bill by 74%)

An inside look into our 2026 infrastructure migration from hyperscaler serverless (AWS Lambda, Aurora Serverless, API Gateway) to dedicated bare-metal servers. Discover how unreserved memory inflation, $0.09/GB egress penalties, and cold starts drove our cloud bill to $4,250/month—and how a hybrid architecture of AMD EPYC bare metal, direct-attached PCIe 5.0 NVMe RAID-1, WireGuard failover, and Cloudflare Anycast edge caching cut ongoing infrastructure costs by 74% while dropping p99 database latency from 48ms to 1.8ms.

24 min read Read article →