#system-design
7 items tagged with "system-design"
Series
Terraform on AWS: From Zero to Production
A 6-chapter, AWS-first path from your first terraform apply to running Terraform safely in production — with state management, modules, CI/CD, and policy-as-code as a single connected story.
6 chapters
Posts
Bloom Filter: The Structure That Never Lies About Absence
How a bit array and k hash functions let you test set membership with zero false negatives, tunable false positives, and 1.14 MB for a million elements.
Error Retries: The Immune Response That Can Turn Autoimmune
Adding retries makes systems more reliable — until it doesn't. The systems that go down because of retries outnumber those that go down because they lacked them.
Hexagonal Architecture, Clean, and N-layered Architecture
Three ways to structure the inside of an application — what they actually mean, how their dependency rules differ, and which one to reach for when.
HyperLogLog: Count Billions with 12 KB
How a single probabilistic trick lets you estimate 10⁹ unique elements using less memory than a thumbnail image.
The Outbox Pattern: Solving the Dual-Write Problem
Every microservice eventually hits the dual-write trap. The outbox pattern is the right fix — but it moves complexity from your application code into your infrastructure.
PostHog's Architecture: What Kafka, ClickHouse, and Feature Flags Teach You
Skip the product pitch. PostHog is worth studying for its ingestion pipeline and its feature-flag latency fix — two patterns worth stealing whether or not you ever touch the product.