Simple explanation for 2i using the Java Client

2013-08-19 Thread rsb
I am having a bit of a hard time finding resources that explain 2i specifically with the Riak Java Client. Would anyone be kind enough to point me to a straightforward example that I will be able to expand from. Assuming the following object: How can I create a secondary index on the cars that

Re: PB Java Client API 1.4 runtime exception

2013-08-08 Thread rsb
My bad. Thanks, go it sorted! -- View this message in context: http://riak-users.197444.n3.nabble.com/PB-Java-Client-API-1-4-runtime-exception-tp4028743p4028752.html Sent from the Riak Users mailing list archive at Nabble.com. ___ riak-users mailing

PB Java Client API 1.4 runtime exception

2013-08-07 Thread rsb
I have tried updating my project to use the new PB 1.4, however during runtime I get the following exception: This occurs on the following line: My project is using /com.basho.riak:riak-client:1.1.1/ retrieved using maven. Within the library I replaced the class /riak-pb-1.2.jar/ for th

Re: Does Yokozuna retrieve the Key only or Key Values as well?

2013-08-02 Thread rsb
Thank you for the clarification Eric! -- View this message in context: http://riak-users.197444.n3.nabble.com/Does-Yokozuna-retrieve-the-Key-only-or-Key-Values-as-well-tp4028654p4028673.html Sent from the Riak Users mailing list archive at Nabble.com. __

Does Yokozuna retrieve the Key only or Key Values as well?

2013-08-01 Thread rsb
At its current stage, does a Yokozuna search query returns the matching records keys only, or it is able to also retrieve the record values with it. Additionally, does Yokozuna support pagination of results? In other words, get me the top 100 hits, or get me hits 101-200, etc. Thanks! -- View

Re: Tweaking app.config and vm.args for best performance

2013-07-25 Thread rsb
Hi Dave, Thanks for pointing out the settings for disabling Nagle. Cheers -- View this message in context: http://riak-users.197444.n3.nabble.com/Tweaking-app-config-and-vm-args-for-best-performance-tp4028510p4028546.html Sent from the Riak Users mailing list archive at Nabble.com. _

Re: Tweaking app.config and vm.args for best performance

2013-07-24 Thread rsb
Thanks Guido. While great advice, those tuning tips seems to cover a limited amount of optimization mainly OS based. If also found the configuration files doc's (http://docs.basho.com/riak/1.2.0/references/Configuration-Files/) but I am uncertain of which parameters should I be modifying and to whi

Tweaking app.config and vm.args for best performance

2013-07-23 Thread rsb
Environment - 5x Riak 1.4 nodes - Bitcask as a backend - Dedicated HDDs for each node storage, no RAID - Virtualized environment (I know... I know... ) VM Host Specs - 8 CPUs x 2.8 GHz (Xenon X5560) - 65Gb of RAM - Fiber optic network Per Nodes Specs (Allocated Resources) - Ubuntu server 12.04

Re: Best way to insert a collection of items at once

2013-07-23 Thread rsb
Thanks for clarifying that Brian. Since I am only doing benchmarking using custom random data generators, I agree with your statement of not worrying about siblings and related overhead. Now, based on your answer another question comes to mind. Is there any underlaying difference between perform

Re: Best way to insert a collection of items at once

2013-07-22 Thread rsb
Thank you for your reply, I gave that a shot and worked really well. -- View this message in context: http://riak-users.197444.n3.nabble.com/Best-way-to-insert-a-collection-of-items-at-once-tp4028487p4028500.html Sent from the Riak Users mailing list archive at Nabble.com.

Best way to insert a collection of items at once

2013-07-22 Thread rsb
Hi All, new Riak'er here so please bear with me. I have a cluster of 5 nodes, and I have created a cluster-PCB client using the RiakFactory. My question is the following; Given a collection of 10,000 items, what is the fastest way of inserting such items. I have tried the following techniques usi