ipfs-rust / ipfs-embed

A small embeddable ipfs implementation
344 stars 47 forks source link

Transactional db ops #85

Closed rklaehn closed 2 years ago

rklaehn commented 2 years ago

For internals, this has been available for a while via the block store, even though we did not yet take advantage of it.

With this API it is also available for ipfs-embed users, such as actyx.

The concrete use case is to be able to add all blocks of a fast path update in a single transaction, or to be able to do a banyan rewrite fully in memory and only spill over to disk once the memory level is exceeded or the write is done.