Re: Updating Riak values in batch

2016-06-14 Thread Luke Bakken
Hi Ricardo, I don't have examples right at hand, here is a link to our advanced map/reduce examples: http://docs.basho.com/riak/kv/2.1.4/developing/app-guide/advanced-mapreduce/ Our own Joe Caswell provided this example: http://stackoverflow.com/a/23633491 If you run into issues after

Re: get and put operations are slow on Riak KV cluster

2016-06-14 Thread Luke Bakken
Hello Abhinav, Have you followed all of our suggested tuning in this document? http://docs.basho.com/riak/kv/2.1.4/using/performance/ Specifically, these settings may help a lot in your environment: http://docs.basho.com/riak/kv/2.1.4/using/performance/#optional-i-o-settings -- Luke Bakken

Re: Updating Riak values in batch

2016-06-14 Thread Ricardo Mayerhofer
Hi Luke, Thanks for your reply! Can I use map/reduce operation to update documents? Do you have any link with an example? On Tue, Jun 14, 2016 at 2:44 PM, Luke Bakken wrote: > Hi Ricardo, > > If you know your keys in advance, you can fetch the keys in parallel, > update them,

Re: Updating Riak values in batch

2016-06-14 Thread Luke Bakken
Hi Ricardo, If you know your keys in advance, you can fetch the keys in parallel, update them, and write them back to Riak in parallel. Other options include map/reduce jobs that iterate over all the keys, but keep in mind that any key listing operation will be resource intensive. -- Luke Bakken