JS call failed: All VMs are busy

2011-11-21 Thread Chung-Hung (Walter) Tsai
Hi all, I saw a lot of messages like this in my riak log: <0.3681.19>@riak_kv_js_manager:blocking_dispatch:246 JS call failed: All VMs are busy And Riak seems get slower in response. Can anyone share how to resolve this? Thanks, Walter ___ riak-user

Counting the number of items in a bucket

2011-11-21 Thread Stephen Bennett
I have a bucket which contains images refernced by a key which is made up from a guid. I have a number of servers in my cluster and my bucket is set up to store 3 versions of every item in the bucket across the servers in the cluster. I'd like to understand a little bit more about how my cluster is

"consistent" map/reduce

2011-11-21 Thread Kresten Krab Thorup
Hi, For Riak Mobile, I occasionally need to use a M/R job to scan all key/values in a bucket and compute a content-hash for each object in a bucket. This works fine, but ... I'd like to be able to do a "consistent map/reduce" job i.e., with "R=2 semantics" for an "N=3 bucket". Maybe other pe

Re: JS call failed: All VMs are busy

2011-11-21 Thread Kelly McLaughlin
Walter, There are three settings you can adjust in the riak app.config file that control the number of javascript vms: map_js_vm_count, reduce_js_vm_count, and hook_js_vm_count. If you are doing a lot of javascript mapreduce and seeing the error you mentioned, increase the map and reduce vm cou

Riak Recap for November 18 - 20

2011-11-21 Thread Mark Phillips
Evening, Morning, Afternoon to All For today's Recap: new code, contributions to the Python client, and more. Enjoy. Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups --- Riak Recap for November 18 - 20 1

Re: Secondary Indexes - Feedback?

2011-11-21 Thread Matt Ranney
The 2i features are certainly more convenient than building secondary indexes manually, which is the only alternative until now. I'm a little concerned about the performance of the coverage queries as our cluster grows. Building a secondary index manually does scale very nicely as new nodes are a

Re: Secondary Indexes - Feedback?

2011-11-21 Thread Fyodor Yarochkin
> Have you tried Secondary Indexes? > Does the feature help solve your problems? If not, why not? Any concerns? > What is your wish list for the future of Secondary Indexes? > yup. I think secondary indexes is probably one of the most-wanted options for this release. It does impact how you are abl