New Posts
Session Consistency in Replicated Frontend Servers
Keeping HTTP sessions consistent behind a reverse proxy: gossip sync, consistent hashing, cookies, and why stateless frontends with durable storage win.
Pagination Ordered by Secondary Keys on Sharded Stores
Offset/limit breaks when a table is sharded by primary key but sorted by time or price. Three fixes: external merging, next-page only, and lookup twice.
Kip’s Warehouse: Building Scalable, Reliable, Consistent Web Application from the Ground Up
Building an inventory management app for Duke ECE labs with React, Node.js, Express and MySQL, and why Sequelize transactions became a debugging headache.
Git as Version Vector
Branches as concurrent updates: happened-before causality, why Lamport clocks can't detect concurrent commits, and how vector clocks reveal when to merge.
Sloppy Quorum And Eventual Consistency
Choosing availability over consistency: NWR quorums where W + R exceeds N keep reads fresh; smaller ones give eventual consistency, measured by t-visibility.
Fourier, Phasors, LTI and All That
A signal is a vector and the Fourier transform a change of basis. Its basis vectors are eigenfunctions of LTI systems, scaled by the frequency response.