On Dec 1, 8:00 am, Andreas Bolka <[email protected]> wrote:
> I've released version 0.1.0 of beanstalkc, a simple beanstalkd client
> library for Python. The source is available via Github [1] and comes
> with an extensive tutorial [2] that introduces almost all of
> beanstalkd's functionality by example. beanstalkc is also available via
> PyPI, so you can simply install it by running `easy_install beanstalkc`.
>
> [1]http://github.com/earl/beanstalkc/tree/master
> [2]http://github.com/earl/beanstalkc/raw/master/TUTORIAL
Good Job, it is just what I want, thank you.
If it can deal with IOError and SERVER_ERROR et, it would be better.
On top of this, I can build a distributed client easily, just like
memcached client:
class Client:
def __init__(self, connections):
self.servers = connections
def choose(self):
return self.servers[int(random()*len(self.servers))]
@retry(3)
def put(self, *a, **kw):
return self.choose().put(data)
def reserve(self):
pass
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"beanstalk-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/beanstalk-talk?hl=en
-~----------~----~----~----~------~----~------~--~---