Re: 2i performance questions

2012-06-18 Thread Tom Burdick
Hi Ryan, I appreciate the response and look forward to seeing 2i rock harder than ever before with all the changes you guys are pushing in. I did make a mistake in my benchmark, and in reality it was closer to 70 req/s that I was getting across my concurrent erlang benchmark workers. HTTP got me

Re: 2i performance questions

2012-06-18 Thread Ryan Zezeski
Hi Tom, response inline. On Thu, Jun 14, 2012 at 3:29 PM, Tom Burdick wrote: > > retrieve_by_client(Db, Key) when is_binary(Key) -> >    {ok, BKeys} = riakc_pb_socket:get_index(Db, ?bucket, > <<"client_id_bin">>, Key), >    lists:map(fun([_Bucket, Key0]) -> >        Key0 >    end, BKeys). > > Wh

2i performance questions

2012-06-14 Thread Tom Burdick
Hi, I'm currently using 2i and riak to store oauth authorization grants. Currently my store function (using riak-erlang-client) is basically, store(Db, Grant) -> Key = token(Grant), Value = term_to_binary(Grant), Indexes = [ {<<"expires_int">>, expires(Grant)}, {<<"cli