3 ms·
I'd like to see more information about transactions. Is it possible to update a several keys atomicly?
by zmanian 11y ago
I'd like to see more information about transactions. Is it possible to update a several keys atomicly?
- eriangazag 11y agoYes, you can easily add thing into a "staging area" of your database (which is hold in-memory), and then "commit" your changes to update multiple keys in one go. You can also use this mechanism to keep track of reads (what Git doesn't do) to detect read/write conflicts.
- avsm 11y agoSee also an early paper on "mergeable persistent data structures" that shows how to do this for Irmin-based Rope and Queue data structures. http://anil.recoil.org/papers/2015-jfla-irmin.pdf http://anil.recoil.org/papers/2015-jfla-irmin.pdf