C Client Library

6 views
Skip to first unread message

Mike Willbanks

unread,
Nov 3, 2009, 12:34:28 AM11/3/09
to beanstalk-talk
Is there any plan to create a C client library? This would be
extremely helpful for creating extensions to several languages as well
as implementation of consistent hashing algorithms etc. I believe
this is a large area for beanstalkd to increase adoption.

Keith Rarick

unread,
Nov 3, 2009, 6:13:07 PM11/3/09
to beansta...@googlegroups.com
On Mon, Nov 2, 2009 at 9:34 PM, Mike Willbanks <pen...@gmail.com> wrote:
> Is there any plan to create a C client library?  This would be
> extremely helpful for creating extensions to several languages

That's an interesting point. Which languages are you thinking of?

> as well
> as implementation of consistent hashing algorithms etc.

That is true, but it's not the only option. We might start with a
document with guidelines for interoperable consistent hashing in
beanstalkd.

>  I believe
> this is a large area for beanstalkd to increase adoption.

If someone wants to work on a C library, they'll have my full support.
(I won't have the time to start or maintain it myself.) Whoever does
this will have to deal with a tricky problem:

Such a library would be hard to integrate with other event loops. It
could use libevent or libev directly, but then the gtk mainloop would
be unhappy. Not to mention twisted, EventMachine, etc.

kr

Reply all
Reply to author
Forward
0 new messages