Remember Ramu Kaka?
If you read Danni, Johny and the Java Feature Flag Problem , you know Ramu Kaka . He runs the tea stall in front of the hospital. He was our feature flag.
Turns out Ramu Kaka is also a database engineer. He just doesn't know it.
Half the hospital drinks chai on credit. Ward boys, nurses, Johny (obviously), and sometimes even Big-B on night shift. Ramu Kaka tracks all of it in a notebook.
His rules are simple:
He never erases anything. Pen only. Crossing out looks dishonest.
Every new chai, every payment, he writes a new line at the bottom .
When the notebook is full, it goes into the drawer and he starts a new one. Old notebooks are never written to again .
He doesn't remember anyone's balance. He remembers which notebook and which line has their latest entry.
Johny asks "Kaka, how much do I owe?" Kaka doesn't flip through 40 pages. He goes straight to notebook 3, line 112, reads one line, done.
Congratulationsπ.β¦