Writing
Architecture
System design decisions, trade-off analysis, and architectural patterns from real production systems.
Designing Budget Pacing in CPM Ad Systems
Budget pacing sounds simple — spend X dollars by end of day. In practice, it's a distributed systems problem with race conditions, hot keys, and consistency trade-offs at every layer.
RedisDistributed SystemsAd Tech
March 15, 2024
9 min read
Event-Driven vs Request-Driven: A Trade-off Analysis
The choice between event-driven and request-driven architecture isn't about which is better — it's about which failure modes you're willing to accept.
ArchitectureKafkaSystem Design
January 22, 2024
7 min read