Re: How to store data

2012-07-25 Thread Andres Jaan Tack
Is that a realistic strategy for low latency requirements? Imagine this were some web service, and people generate this query at some reasonable frequency. (not that I know what Andrew is looking for, exactly) 2012/7/25 Yousuf Fauzan > Since 500 is not that big a number, I think you can run tha

Re: C Client?

2012-04-13 Thread Andres Jaan Tack
If you'd like, I will write a C wrapper around riak-cpp, obviously itself written for C++. Actually, in the interest of getting my code into more hands, I will help you in any number of ways (e.g. provide an implementation of Riak/PB) if you can specify your comp

Re: Riak synchronized

2012-02-14 Thread Andres Jaan Tack
> > All these things, of course, assume that the cluster is not > partitioned in any way more interesting than a bunch of nodes being > offline. Split brain would break all synchronization. You should read this: http://codahale.com/you-cant-sacrifice-partition-tolerance/ Riak's primary applicati

Riak-Cpp v0.1 Released

2012-02-02 Thread Andres Jaan Tack
Riak-Cpp , a C++ driver for Riak store access, has been released at version 0.1. >From the release notes: This is the first versioned release of Riak-Cpp. The goal wa

Re: error compiling cpp driver for riak

2012-01-26 Thread Andres Jaan Tack
give it a shot tomorrow (I'm in Europe); if you're able to massage it in line before me, definitely send me a pull request. :) -- Andres 2012/1/27 Andres Jaan Tack > (from the correct e-mail address…) > > Hi there. > > > Just as a starting note, Riak-Cpp is still a

Re: error compiling cpp driver for riak

2012-01-26 Thread Andres Jaan Tack
(from the correct e-mail address…) Hi there. Just as a starting note, Riak-Cpp is still a work in progress, with no versioned release to date. Thus, I haven't gotten to the point of testing many generations of compilers, yet. In the next month or so, I should get sibling resolution finished, and

Re: Are X-Riak-ClientId and RpbSetClientId deprecated?

2011-12-18 Thread Andres Jaan Tack
t's a lot of wasted round-trips, and furthermore it complicates the implementation of a connection pool. If there isn't a use-case in the realm of practicality that *requires* client-id vclocks, I'd just as soon forget it, or submit a pull request with per-put-request client IDs later on.

Re: Are X-Riak-ClientId and RpbSetClientId deprecated?

2011-12-18 Thread Andres Jaan Tack
e riak_kv / vnode_vclocks setting is false. > If it is true, the client ID will simply be ignored. For compatibility's > sake, it's best to send/set them still. > > On Sun, Dec 18, 2011 at 11:12 AM, Andres Jaan Tack < > andres.jaan.t...@eesti.ee> wrote: > >> I g

Are X-Riak-ClientId and RpbSetClientId deprecated?

2011-12-18 Thread Andres Jaan Tack
I guess the fundamental question is: In new clusters unaffected by pre-1.0 shenanigans, should we *ever* be using client-provided ClientIds in our vector clocks, or is this method deprecated? I ask because I was deep into figuring out how to do this efficiently with the Riak PBC API for PUT reques

Re: Clarifying "Read-before-Write"

2011-11-26 Thread Andres Jaan Tack
Thanks! That explanation is perfect. I guess should have taken a look at some of the other clients as an example in the first place. Now I have something to fix for Riak-Cpp. :) -- Andres 2011/11/26 Russell Brown > > On 26 Nov 2011, at 01:14, Andres Jaan Tack wrote: > > So I was

Clarifying "Read-before-Write"

2011-11-25 Thread Andres Jaan Tack
So I was just reading and thinking about this, and I don't understand the advice offered under "Read-before-Write" at http://wiki.basho.com/Client-Implementation-Guide.html. "Riak will return an encoded vector clock > with every "fetch" or "read" request

Need a partner for Riak-Cpp

2011-11-18 Thread Andres Jaan Tack
I'm the author of Riak-Cpp (http://git.io/riak-cpp). I'm looking for a partner, somebody who has a need to use Riak from a C++ application and can thus drive the order of the next features I add. Currently, Riak-Cpp is capable of: - Gets - Puts - Deletes In addition, Riak-Cpp provides a hook b

Re: Importing data to Riak

2011-11-14 Thread Andres Jaan Tack
I was able to achieve similar results. I wrote a Ruby process that would keep at most n (I think n = 10) things at once and reached 2,500ish req/s on my macbook pro. I loaded data to a cluster of six Riak nodes by running several of these processes at once and attaching each to a different Riak no

Re: Riak and SEC Filings

2011-11-08 Thread Andres Jaan Tack
you can just replace the missing documents), lower N as needed. --Tack 2011/11/8 Hector Castro > Hello, > > I'm currently in the process of evaluating solutions to index the contents > of ~1TB of SEC (Securities and Exchange Commission) documents. File sizes > vary bet

Re: C++ Riak client?

2011-10-25 Thread tack
at http://github.com/ajtack/riak-cpp. I just started recently, and have decided upon some rather stringent compiler+library requirements (for now). I'd love help or suggestions. Other folks' requirements, too, would be nice. :) -- Tack -- View this message in context: http://riak-us