Re:Redis Streams and the Unified Log
by swah on Wednesday November 08, 2017 @03:36PM
(#15656704)
I didn't understand why he couldn't keep staged and checkpoints in Redis as well...
[ Parent
| on HN ]
Re:Redis Streams and the Unified Log
by hackcrafter on Wednesday November 08, 2017 @10:55PM
(#15659715)
I was thinking that too, then I realized he was wrapping the code in `DB.transaction` blocks, which rollback on any type of exception, so that all those staged/checkpoint entries only persistent if the block cleanly executes.
Pretty neat...