[ANN] riak-python-client 1.5.2
sean at basho.com
Fri Feb 1 09:52:05 EST 2013
The changes I mentioned were mostly part of
https://github.com/basho/riak-python-client/pull/179. The description
will tell you most of what is in there, but here's the shorter
* The client connects to multiple nodes automatically. Each node
carries a decaying error rate for selecting which node to connect to
* You can choose/change which protocol (HTTP or PBC) to *prefer* at
any time, it is no longer either-or. For some operations that are only
valid there, HTTP will be chosen for you.
* The new connection pool is damn-near-close to thread-safe. It is
also re-entrant, so you can open multiple connections from the same
thread without releasing the first.
* For most operations, they will be retried automatically up to three
times. The exception is streaming requests like list-keys and
MapReduce, which can be quite impactful.
* Streaming list-keys and MapReduce have been added, and are exposed
as iterators, e.g.
for keylist in bucket.stream_keys():
for phase, data in mr.stream():
print phase, data
There are other important changes brewing, but that one PR got long in
the tooth, so we decided to wrap it up and merge it.
On Thu, Jan 31, 2013 at 5:38 PM, Matt Black <matt.black at jbadigital.com> wrote:
> Looks great Sean, I'll be sure to update soon.
> Is there any more I can check out on the future enhancements? Multi-node
> connections and streaming sound very interesting.. If you can just point me
> to parts of the library to read the code that should suffice.
> On 1 February 2013 10:25, Sean Cribbs <sean at basho.com> wrote:
>> Hey riak-users,
>> I've just tagged and released version 1.5.2 of the Python client to
>> PyPi. This should likely be the last release of the 1.5.x series. It
>> includes some bugfixes and HTTPS support.
>> Release notes:
>> Docs: http://basho.github.com/riak-python-client/
>> Issues: https://github.com/basho/riak-python-client/issues
>> We're very excited about the following release of the client, which is
>> currently brewing on the master branch and includes multi-node
>> connections, streaming, and a bunch of other enhancements. Your
>> comments, suggestions, issues, and contributions are welcomed!
>> Sean Cribbs <sean at basho.com>
>> Software Engineer
>> Basho Technologies, Inc.
>> riak-users mailing list
>> riak-users at lists.basho.com
Sean Cribbs <sean at basho.com>
Basho Technologies, Inc.
More information about the riak-users