Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
swah
on Nov 8, 2017
|
parent
|
context
|
favorite
| on:
Redis Streams and the Unified Log
I didn't understand why he couldn't keep staged and checkpoints in Redis as well...
hackcrafter
on Nov 9, 2017
[–]
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...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: