tef on Nostr: i wrote some go to implement a transactional map with snapshot isolation, and 2p ...
i wrote some go to implement a transactional map with snapshot isolation, and 2p locking for fun as you do
and now i've come to the bit where i'm forced to add checkpointing in order to have useful persistence
at first i was like "i can just dump an array of page offsets in the log" and avoid an aries/im situation by never including uncommitted data
but as i started to think about partitioning the array up into smaller sets and forming a tree i realised "ah fuck this is a b tree isn't it"
and now i've come to the bit where i'm forced to add checkpointing in order to have useful persistence
at first i was like "i can just dump an array of page offsets in the log" and avoid an aries/im situation by never including uncommitted data
but as i started to think about partitioning the array up into smaller sets and forming a tree i realised "ah fuck this is a b tree isn't it"