OpenRiak / riak_kv

Riak Key/Value Store
0 stars 0 forks source link

Nhse d34 nhskv.i33 token #35

Open martinsumner opened 4 months ago

martinsumner commented 4 months ago

Add support for a token manager and token session process to act as a requestor for tokens, and warp riak_client calls within a session.

This is then used to be provide a stronger conditional PUT API to allow for check-and-set operations that will behave reliably when the cluster is healthy, as well as in simple failure scenarios and operational changes. The CAS will fall-back to eventual consistency in extreme failure scenarios.

martinsumner commented 3 months ago

Looking at the results of a full performance test, the overhead of performing basic_consensus for a proportion of PUTs is not large

Throughput Comparison - CAS