#databases
5 items tagged with "databases"
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.
Database Isolation Levels: The Standard Table Is Lying to You
The four SQL isolation levels look simple on paper. In Postgres and MySQL they behave differently, and the anomalies that actually break production — lost update and write skew — aren't even in the standard's table.
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.
RESP: The Wire Protocol Behind Every Redis Command
A byte-level walkthrough of the Redis Serialization Protocol — how commands travel over the wire, why pipelining works, and what RESP3 changes for client-side caching.