Blogs & Writing

Notes on data platforms, streaming, and AI-native analytics.

Distilled from production systems at BigTech — practical patterns, trade-offs, and measurement.

Filter:
Aug 2026 · 12 min Distributed Systems Core Concepts

WTH is FLP Impossibility?

Fischer, Lynch, and Patterson's 1985 proof that consensus is impossible in async systems with even one crash fault — bivalent configurations, valency, and why waiting forever is the only option.

Read article → Tanay Karmarkar
Aug 2026 · 12 min Distributed Systems Core Concepts

WTH is Raft?

Leader elections, replicated state machines, and the safety rules that stop two leaders from committing different logs — with an interactive 5-node cluster.

Read article → Tanay Karmarkar
Aug 2026 · 10 min Distributed Systems Core Concepts

WTH is Quorum Reads & Writes?

N, W, R, and quorum intersection — how Dynamo-style systems trade consistency strength for availability, with an interactive calculator.

Read article → Tanay Karmarkar
Aug 2026 · 10 min Distributed Systems Core Concepts

WTH is Vector Clocks & Conflict Resolution?

Lamport timestamps, causal ordering, and the exact moment concurrent updates become conflicts — with vector clock diagrams and code.

Read article → Tanay Karmarkar
Aug 2026 · 10 min Distributed Systems Core Concepts

WTH is CAP and PACELC?

CAP tells you what breaks during a partition — PACELC tells you what you trade every write the other 99.9% of the time.

Read article → Tanay Karmarkar
Aug 2026 · 9 min Distributed Systems Core Concepts

WTH is Failure Models in Distributed Systems?

Crash-stop vs crash-recovery vs Byzantine — why surviving a crash costs 2f+1 and surviving a liar costs 3f+1.

Read article → Tanay Karmarkar
Aug 2026 · 9 min Distributed Systems Core Concepts

WTH is Physical vs Logical Clocks?

Physical clocks drift and NTP steps — Lamport and hybrid clocks restore causal order without wall time.

Read article → Tanay Karmarkar
Aug 2026 · 8 min Distributed Systems Core Concepts

WTH is the Two Generals Problem?

The impossibility of perfect agreement over a lossy link — and why quorums exist. Interactive dropped-ACK demo.

Read article → Tanay Karmarkar
Aug 2026 · 9 min Distributed Systems Core Concepts

WTH is State Machine Replication?

Deterministic replicas must apply identical commands in identical order — one reordered message creates two databases.

Read article → Tanay Karmarkar
Aug 2026 · 7 min PostgreSQL Database

WTH is PostgreSQL Transaction ID Wraparound?

A practical guide to 32-bit XID limits, MVCC tuple freezing, autovacuum parameters, production monitoring queries, and emergency recovery.

Read article → Tanay Karmarkar