There's something satisfying in implementing concurrent transactions on top of sequential atomic batching in 80 lines of code (including comments and type declarations).
Implementing transactions on top of LevelDB batches as holds that block committing an otherwise ready batch if still open, yet themselves blocked before opening if the batch is ready but waiting. I have the feeling someone must have done that before...
-
-
Show this thread
-
TFW you realize you didn't implement nested transactions, and doing it would require dynamic scoping, but your language doesn't provide it and your blown up deadline means don't have time to add a reader monad transformation to all your monads.
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!