[ANN] gobeanstalk : Beanstalkd client library

276 views
Skip to first unread message

Iwan Budi Kusnanto

unread,
Apr 11, 2012, 3:17:43 PM4/11/12
to golang-nuts
Hi,
I just wrote my beanstalkd[1] client library. It is still in early
stage but already implements all producer's commands and some worker's
commands.
Currently,i'm only planning to implement all worker's commands and all
producer's commands, i don't have a plan to implement other
commands[2]
I'll be very happy if someone give some review to my code.

Thanks

[1]https://github.com/iwanbk/gobeanstalk
[2]https://github.com/kr/beanstalkd/blob/master/doc/protocol.txt

Iwan Budi Kusnanto

unread,
Apr 11, 2012, 7:06:39 PM4/11/12
to golan...@googlegroups.com
Hi All,
I just released gobeanstalk[1], beanstalkd[2] client library.
It is still in early stage, but already implemented all producer's commands
and most of worker's command.
I'll be very happy if someone can give review to my code.

Thanks

[1]https://github.com/iwanbk/gobeanstalk
[2]http://kr.github.com/beanstalkd/
--
Iwan Budi Kusnanto

OmarShariffDontLikeIt

unread,
Apr 12, 2012, 1:37:08 AM4/12/12
to golang-nuts
This is great news! We use beanstalkd heavily at work and now you've
just given me another piece of ammunition to convince my colleagues
that we could switch to Go!

Cheers!

manveru

unread,
Apr 12, 2012, 11:40:56 AM4/12/12
to golan...@googlegroups.com


On Thursday, April 12, 2012 1:06:39 AM UTC+2, Iwan Budi Kusnanto wrote:
Hi All,
I just released gobeanstalk[1], beanstalkd[2] client library.
It is still in early stage, but already implemented all producer's commands
and most of worker's command.
I'll be very happy if someone can give review to my code.

Thanks

I've written a server and client for the beanstalk protocol, maybe you would like to help out? :) 

Iwan Budi Kusnanto

unread,
Apr 12, 2012, 3:17:42 PM4/12/12
to golang-nuts
I'm sorry for double post

On Apr 12, 6:06 am, Iwan Budi Kusnanto <iwa...@gmail.com> wrote:

Keith Rarick

unread,
Apr 12, 2012, 6:44:35 PM4/12/12
to manveru, golan...@googlegroups.com
There's been quite a bit of activity in Go beanstalkd
clients recently.

https://github.com/nutrun/lentil also exists, and I
finally updated beanstalkd.go and renamed it to
https://github.com/kr/beanstalk

kr

Iwan Budi Kusnanto

unread,
Apr 12, 2012, 11:58:52 PM4/12/12
to golang-nuts


On Apr 12, 10:40 pm, manveru <m.fellin...@gmail.com> wrote:

>
> I've written a server and client for the beanstalk protocol, maybe you
> would like to help out? :)https://github.com/manveru/gostalk

Hi,
what kind of help that you need?
How is the status of your server?

Michael Fellinger

unread,
Apr 14, 2012, 5:27:38 AM4/14/12
to Iwan Budi Kusnanto, golang-nuts


The server and client work for all the commands documented in the
protocol, I've also added tests for almost everything (that's what I
built the client library for).
According to the little benchmark I did so far, it's roughly around
the same speed as C beanstalk, I only tested with the gc, and on my
notebook it was around half the speed of original beanstalk, while it
was around twice as fast on my server.
What's really missing is a persistence mechanism, as it's all
in-memory right now, and doesn't offer the option to log all activity
to disk that beanstalk offers,
I'm not experienced with that kind of thing, so someone who's done
some work on other databases might be able to help out, I'd hate to
wrongly advertise something that still loses data in the wrong
conditions.
If you don't need persistence, then it should work just fine for you as well :)

--
Michael Fellinger

Reply all
Reply to author
Forward
0 new messages