Re: Atomicity of if_not_modified?

2013-01-07 Thread qaspar
Justin Sheehy wrote > Yes, I confirmed this earlier in this thread: > > http://lists.basho.com/pipermail/riak-users_lists.basho.com/2013-January/010672.html > > -Justin Sorry for the double-post, that was not intended. What about setting DW=DR=2? In this case only at most one partition can succe

Re: Riak and host names

2013-01-07 Thread Charlie Voiselle
Deepak: When you name a node in app.config with -name it has to have a '.' in it, like r...@hostname.net As you have surmised, you can get around that if you use the -sname argument instead. They have to be done consistently. In your example, had you used the -sname argument, `riak@riaknod

Re: Atomicity of if_not_modified?

2013-01-07 Thread Kresten Krab Thorup
Kaspar, When a Riak write "fails" the value can still have been written. Failure is really just a notification that the write didn't complete as requested, usually because one or more of the cluster writes failed. And being written, even just to a single node, that singly written value can lat

Re: Same MR query, different results every run...........

2013-01-07 Thread Mridul Kashatria
Hi, If I am correct, adding a reduce function should return the same number of items. I'm a riak noob but I faced some similar issue while testing with a map function only. Adding a reduce fixed it. I believe as the map fans out to multiple nodes, whichever node returns data first is writt

Benchmark test for bitcask

2013-01-07 Thread Vijay Gupta
Hi All, Anyone of you have did the benchmark testing on riak with bitcask as backend ? If yes then can you guys share those information with me. -- Thanks and Regards, Vijay Gupta ( ??) Engineering Group. Hostway Corporation NOTICE: This email and any file transmitted are confidential

Re: Benchmark test for bitcask

2013-01-07 Thread Thomas Santero
Hi Vijay, I would recommend performing your own benchmarks over taking stock in others'. There is a benchmarking utility called basho_bench[0] that you could use to benchmark Bitcask and configure[1] it to your own specifications. [0] https://github.com/basho/basho_bench [1] http://docs.basho.co

Re: store performance

2013-01-07 Thread catchme
Could you provide an example of using Multi-threading on the client? -- View this message in context: http://riak-users.197444.n3.nabble.com/store-performance-tp4026462p4026488.html Sent from the Riak Users mailing list archive at Nabble.com. ___ ria

Re: Riak and host names

2013-01-07 Thread Matt Black
Thanks for this Charlie. I'm running a production Riak cluster on AWS which runs constantly, and I've been wondering how I might be able to easliy stop and start AWS nodes for a testing and benchmarking cluster (to save on cost). By using the 'riaknode1.priv' hostname method you describe, would I

riak java client causing OOMs on high latency

2013-01-07 Thread Dietrich Featherston
We're seeing instances of a JVM app which talks to riak run out of memory when riak operations rise in latency or riak becomes otherwise unresponsive. A heap dump of the JVM at the time of the OOM show that 91% of the 1G (active) heap is consumed by large byte[] instances. In our case 3 of those by

Re: Riak and host names

2013-01-07 Thread Charlie Voiselle
Matt: You would need to use (or implement your own) DNS service that you could programmatically access--Route 53 has an API that you could use to create DNS entries that point to the internal addresses of your nodes. In very carefully re-reading the thread Deepak mentions, one problem that wi

Re: Riak and host names

2013-01-07 Thread Richard Shaw
Hi Matt, Just to add to Charlie's suggestion, you could take a look at EC2 elastic IP addresses which would allow you to permanently map a public and private address to an EC2 instance, assignDNS hostnames and not have them change on reboot[1] [1] http://aws.amazon.com/articles/1346 Regards R

Re: Same MR query, different results every run...........

2013-01-07 Thread David Montgomery
Hi, i do have a reduce phase On Tue, Jan 8, 2013 at 12:08 AM, Mridul Kashatria wrote: > Hi, > > If I am correct, adding a reduce function should return the same number of > items. > > I'm a riak noob but I faced some similar issue while testing with a map > function only. Adding a reduce fixed

Re: Riak and host names

2013-01-07 Thread Michael Johnson
I'm not sure how much this will help, but I will throw my two cents into the hat. Given that I don't know the details of your requirements, and I am fairly new to riak and aws, please take everything with a grain of salt. On Tue, Jan 1, 2013 at 11:43 AM, Deepak Balasubramanyam < deepak.b...@gmail

LevelDB compaction and timeouts

2013-01-07 Thread Parnell Springmeyer
I've had a few situations arise where one or two nodes (all it needs is one node) will begin a heavy compaction cycle (determined by using gstat + looking at leveldb LOG files) and ALL queries put through the cluster (it doesn't matter which node) return a timeout. I can fix this situation by kill

Re: store performance

2013-01-07 Thread Brian Roach
The client is thread-safe. You can create an instance of it, pass it to multiple threads, and perform multiple store operations in parallel. Thanks, - Roach On Mon, Jan 7, 2013 at 12:46 PM, catchme wrote: > Could you provide an example of using Multi-threading on the client? > > > > -- > View th

Re: Ripple file attachments

2013-01-07 Thread Mark Phillips
Hi Ariel, On Tue, Dec 18, 2012 at 7:23 PM, Ariel Valentin wrote: > Does Ripple provide file attachement functionality similar to paperclip or > attachement_fu? > > I'd like to be able to attach binary data to a Ripple Document object that > is being stored in a different bucket. > It looks like

Re: Ripple file attachments

2013-01-07 Thread Ariel Valentin
Thanks for the reply. I recently learned about carrierwave, which does not have a dependency on activerecord. I think am going to give that a try. I don't like the idea of having embedded documents in this case but rather a reference to a value in a separate bucket. I will RTFM when I get a