0

Is there a maximum size for Riak sets or some significant performance degradation at some point?

basgys
  • 4,320
  • 28
  • 39

1 Answers1

2

In Riak 2.0.x the recommended max size of a CRDT map/set stood at 100-200 KB of raw data (keys and values). The performance of Riak data types has been being constantly improved, but there is still a practical limit. The best way to determine what size works for your application is benchmarking your specific use-cases.

See Guidance notes for CRDT performance issues and Benchmarking large Riak data types, for example.

Keep in mind that as a rule of thumb Basho recommends keeping the size of stored objects under 100 KB.

vempo
  • 3,093
  • 1
  • 14
  • 16
  • Thanks for your answer @vempo. I think there is a performance impact even within that range with tiny elements, but I should benchmark to confirm that assumption. – basgys Aug 23 '16 at 14:52