I tried implementing a mini in-memory key-value data store that supports transactions, rollback, and commit — just to see how databases handle these operations under the hood. Turns out, it’s a fascinating journey of layers, reversibility, and data i...