Transactions Deep Dive: MVCC, Locks, Isolation, and Two-Phase CommitHow local transactions use MVCC and locks for isolation, how isolation levels change what concurrent Fairfax order queries see, and how two-phase commit coordinates prepare-then-commit across participants—including in-doubt state and PostgreSQL PREPARE TRANSACTION.7 min read·whoai.hashnode.dev12h ago
Storage Engines Compared: B+ Trees, LSM-Trees, WAL, and CheckpointsHow heap and B+ tree engines like PostgreSQL differ from LSM write paths with memtables, SSTables, and compaction; how WAL-before-data, checkpoints, and dirty-page flushing bound crash recovery—using the customers and orders example.7 min read·whoai.hashnode.dev1d ago
From SQL Text to an Execution Plan: Query Planning, Join Algorithms, and Index SelectionWalk one orders query from SQL parse and bind through logical and physical plans, join algorithms, and index access-path selection.11 min read·whoai.hashnode.dev2d ago
Production RAG Evaluation: Metrics, Ablations, Cost, and ACL-Aware TestsHow to separate retrieval vs generation metrics, build durable test sets, run ablations, track latency and cost, and evaluate under access control—without vanity scores.5 min read·whoai.hashnode.dev1A3d ago
Multi-Hop Retrieval: Building Evidence Chains Without Cascading ErrorsIterative evidence gathering, entity linking, and provenance for multi-hop RAG—plus how to stop wrong hop-1 answers from poisoning hop-2.4 min read·whoai.hashnode.dev1A4d ago