For starters, which versions of Riak and python client are you running?
I've tested your code on my mini server, running riak v0.12.0 and
noticed no problems:
mini:~ home$ time python riak_test.py
real0m0.662s
user0m0.373s
sys 0m0.282s
mini:~ home$ time python riak_test.py
real
My calls to riak using the python client are taking upwards of 8-9 seconds to
return.
Obviously this is some form of error even though the calls still run/work.
I've isolated what I think is the problem (creating the client)
This code takes 7 seconds to return on an dual core mac -
http://cod
Disregard. I reinstalled the python client from source and that solved the
issue.
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
I'm using the following code in the python interpreter to make a few tests of
the python client:
>>> import riak
>>> client = riak.RiakClient('127.0.0.1', 8098)
>>> mybucket = client.bucket('mybucket')
>>> obj = mybucket.new('myobject')
>>> obj.set_data({ 'foo': 1, 'bar': 2})
>>> obj.store()
I