v0.1.0 · Interface

batch

A keyvalue interface that provides batch operations. A batch operation is an operation that operates on multiple keys at once. Batch operations are useful for reducing network round-trip time. For example, if you want to get the values associated with 100 keys, you can either do 100 get operations or you can do 1 batch get operation. The batch operation is faster because it only needs to make 1 network call instead of 100. A batch operation does not guarantee atomicity, meaning that if the batch operation fails, some of the keys may have been modified and some may not. This interface has the same consistency guarantees as the `store` interface, meaning that you should be able to "read your writes."