Re: multi-get optimisation

2013-10-31 Thread Vincent Chavelle
> We will consider this for a future release of Riak. In the meantime, have > you considered JRuby for your app? It has much better multi-threaded > behavior than MRI. Amazing news! Thank you so much. I haven't considered to use JRuby because of some incompatibilities. > If the requests from the

Re: ANN: Riak C Client *alpha*

2013-10-31 Thread Brian Akins
There is no event loop in libcurl. That was my point. It can use several different event loops - libev, libevent , etc. If "libriakclient" uses libevent only, then I have a tougher time integrating it with other event loops. Haven't looked into the code much, but the "core" riak-client stuff (PBC,

Link walking

2013-10-31 Thread Georgi Ivanov
Hello, I am trying to make Link walking work . I am using this as example : http://basho.com/link-walking-by-example/ So basically adding keys works as expected, but i am unable to query . Example: add first : curl -X PUT -H "content-type:text/plain" \ -H "Link: ; riaktag=\"foo\", ; riakta

bitcask issue - write_locked

2013-10-31 Thread Konstantin Kalin
We use riak 1.2.1 in production. Recently we had two incidents when a Riak node (out of 27 nodes) was in limbo state: riak-core worked fine but bitcask backend was constantly crashing (see below). Both times it happened immediately after Riak was restarted due to Linux reboot. I looked at the sour

Re: ANN: Riak C Client *alpha*

2013-10-31 Thread Brett Hazen
It's a great idea, Brian. I'll take a look at making the event framework pluggable. Right now the async stuff is wrapped by the synchronous interface. You are thinking a separate implementation would be more efficient? Brett Sent from my iPhone On Oct 31, 2013, at 4:35, Brian Akins wrote:

Re: multi-get optimisation

2013-10-31 Thread Dmitri Zagidulin
Vincent, How large are the objects that you're requesting? (in the 1000 objs example). Also, what does your cluster configuration look like? How many nodes? Are you load-balancing the GETs to your riak nodes (via something like HAProxy), or are you making requests to a single riak node? It sounds

Re: ANN: Riak C Client *alpha*

2013-10-31 Thread Robert Zuber
hiredis has a model for pluggable event loops in a C client lib that may be worth having a look at. i've integrated it into a C server that was already using a libevent loop and it worked very well. https://github.com/redis/hiredis but more importantly thanks for all the effort on a C lib! so

same 2i key with different value

2013-10-31 Thread Louis-Philippe Perron
Hi Riak people! I noticed it is possible to add multiple indexes to a document with different values without overriding the previously saved index, the document would end up having indexes like: x-riak-index-test_key_bin: testvalue_A x-riak-index-test_key_bin: testvalue_B x-riak-index-test_key_bi

Re: Import big data to Riak

2013-10-31 Thread Toby Corkindale
On 30/10/13 02:59, Georgi Ivanov wrote: On Tuesday 29 October 2013 16:50:25 Rune Skou Larsen wrote: Den 29-10-2013 16:32, Georgi Ivanov skrev: Hi and thank you for the reply. My comment follow: Your tests are not close to what you are going to have in production My tests are exactly what we

Keys that won't disappear from indexes

2013-10-31 Thread Toby Corkindale
Hi, I have around 5000 keys which just won't die. No matter how many times I delete them, they still show up in the 2i $bucket=_ index. Actually attempting to retreive the keys results in a not-found - even if I've requested that tombstones be returned. I'm interested to know what is going o