Hi Vikram, If all of your buckets use the same bucket type with your custom n_val, there won't be a performance issue. Just be sure to set n_val on the bucket type, and that all buckets are part of that bucket type.
http://docs.basho.com/riak/kv/2.1.4/developing/usage/bucket-types/ -- Luke Bakken Engineer lbak...@basho.com On Thu, Sep 29, 2016 at 4:42 PM, Vikram Lalit <vikramla...@gmail.com> wrote: > Hi - I am creating a messaging platform wherein am modeling each topic to > serve as a separate bucket. That means there can potentially be millions of > buckets, with each message from a user becoming a value on a distinct > timestamp key. > > My question is there any downside to modeling my data in such a manner? Or > can folks advise a better way of storing the same in Riak? > > Secondly, I would like to modify the default bucket properties (n_val) - I > understand that such 'custom' buckets have a higher performance overhead due > to the extra load on the gossip protocol. Is there a way the default n_val > of newly created buckets be changed so that even if I have the above said > high number of buckets, there is no performance degrade? Believe there was > such a config allowed in app.config but not sure that file is leveraged any > more after riak.conf was introduced. > > Thanks much. _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com