Re: Connection Pool with Erlang PB Client Necessary?

2011-07-26 Thread Bryan O'Sullivan
On Tue, Jul 26, 2011 at 11:35 AM, Andrew Berman wrote: > So, then, two more questions. I have used connection pools in Java > like C3P0 and they can ramp up connections and then cull connections > when there is a period of inactivity. The only pooler I've found that > does this is: https://gith

Re: Connection Pool with Erlang PB Client Necessary?

2011-07-26 Thread Bryan O'Sullivan
On Mon, Jul 25, 2011 at 4:03 PM, Andrew Berman wrote: > I know that this subject has been brought up before, but I'm still > wondering what the value of a connection pool is with Riak. It's a big deal: - It amortises TCP and PBC connection setup overhead over a number of requests, thereb

Re: C++ Riak client?

2011-05-06 Thread Bryan O'Sullivan
On Thu, May 5, 2011 at 4:14 PM, David Leimbach wrote: > > Yes I know protocol buffers are trendy and all, but even Google's Go > programming language doesn't support them natively (without external > packages). > protobuf is a rotten piece of design from any angle. The systems it has inspired (A

Re: Secondary indexing

2011-04-25 Thread Bryan O'Sullivan
On Sat, Apr 23, 2011 at 2:28 AM, Kresten Krab Thorup wrote: > My colleague Erik is working on something that sounds like a solution for > your problem, > http://polymorphictypist.blogspot.com/2011/04/multi-version-collections-in-riak.html > > In combination with a set of commit hooks like riak_lin

Secondary indexing

2011-04-22 Thread Bryan O'Sullivan
In my application, I have a frequent need to store collections of data where I rarely access the items individually, but much more commonly in aggregate form. In principle, the mapreduce feature is well suited to this, but it must be fed a set of {bucket,key} pairs to consume, and maintaining these

Re: When's the PBC API going to be brought up to snuff?

2011-04-21 Thread Bryan O'Sullivan
On Wed, Apr 20, 2011 at 2:28 PM, Andrew Thompson wrote: > Changes include conditional get [{if_modified, VClock}], conditional put > [if_none_match], [if_not_modified] and a way to get the metadata of an > object without its value; [head]. > It's a good start, thanks. One particular case of cond

Re: This sure looks like a bug...?

2011-04-18 Thread Bryan O'Sullivan
On Mon, Apr 18, 2011 at 4:59 PM, Dan Reverri wrote: > > I've tried to provide a walk through below that explains the behavior. The > main lesson to take away is you should always provide a client id and vector > clock. > Thanks for the description of what's going on. From your description, it lo

This sure looks like a bug...?

2011-04-18 Thread Bryan O'Sullivan
I have an app using the protobuf API that's exhibiting some strange behaviour. I have a bucket with allow_mult = true, so when I perform a PUT I expect that if a matching key exists, a sibling will be created, and the response to the PUT should contain both the pre-existing value and the new value

Re: When's the PBC API going to be brought up to snuff?

2011-04-06 Thread Bryan O'Sullivan
On Wed, Apr 6, 2011 at 1:54 PM, Jon Meredith wrote: > > We've added entries to our internal task tracker to investigate adding the > suggestions in your emails. We also have tasks logged for improving bucket > properties over PBC which is another pain point. > Many thanks, Jon. Please bear in m

When's the PBC API going to be brought up to snuff?

2011-04-05 Thread Bryan O'Sullivan
Hi, folks - I'm developing a rather performance-sensitive app against Riak, and while the PBC API has much better raw performance than the REST API, it is sufficiently crippled in numerous ways as to be of quite limited use. This is somewhat frustrating, as notionally simple operations such as a c

Re: tuning riak for 100s of concurrent connections

2011-02-25 Thread Bryan O'Sullivan
On Fri, Feb 25, 2011 at 12:17 PM, Joseph Blomstedt wrote: > > For protocol buffers there are client libraries that support > connection pooling. Of the top of my head I know riak-js does, and [...] > My Haskell client does, too: https://github.com/mailrank/riak-haskell-client It also supports r