Beanstalk is a simple, fast work queue.

7 years after

This is beanstalkd, a fast, general-purpose work queue. See for general info.


$ make
$ ./beanstalkd


$ make CFLAGS=-g
$ make CC=clang
$ make check
$ make install
$ make install PREFIX=/usr

You might need to type "gmake"; our build requires GNU make. Requires Linux (2.6.17 or later), Mac OS X, or FreeBSD. See doc/protocol.txt for details of the network protocol.


adm files useful for system administrators ct testing tool; see doc documentation mk include files for make pkg miscelaneous files for packagers sh-tests tests written as shell scripts


There are two kinds of tests here: unit tests and shell tests.

== Unit Tests ==

Test functions are in *-test.c.

== Shell Tests ==

Shell tests go in the sh-tests directory and are to be written in pairs:


Each .commands file will be nc'd to beanstalkd, and the response diff'd with the appropriate .expected file. If the response is not identical to the .expected file, the test fails. At the moment, the test harness bails upon the first failure, but it could easily be extended to finish the tests and print full results.

IMPORTANT: Since beanstalkd expects \r\n line endings, you must be sure to include those in your files. You can tell vim to do this with :set ff=dos

Copyright 2007-2011 the authors of beanstalkd. Copyright in contributions to beanstalkd is retained by the original copyright holder of each contribution. See the COPYING file for terms of use.

Related Repositories



A convenience wrapper for beanstalkd clients and workers in Django using the bea ...



non-blocking beanstalkd client lib for ngx_lua ...



Simple to use commandline tool for Beanstalkd ...



An Admin UI for Beanstalkd and Laravel ...



Easy-to-use beanstalkd client for Rust (IronMQ compatible) ...

Top Contributors

kr dustin gbarr copiousfreetime abh pda tony2001 jbergstroem lericson blueness dolfelt drasch sophacles joncooper manveru noahwilliamsson stephan-hof zhan sebest


-   v1.4.6 zip tar
-   v1.4.5 zip tar
-   v1.4.4 zip tar
-   v1.4.3 zip tar
-   v1.4.2 zip tar
-   v1.4.1 zip tar
-   v1.4 zip tar
-   v1.3 zip tar
-   v1.2 zip tar
-   v1.1 zip tar
-   v0.9 zip tar
-   v0.8 zip tar
-   v0.7 zip tar
-   v0.6 zip tar
-   v0.5 zip tar
-   v0.4 zip tar
-   v0.3 zip tar
-   v0.2 zip tar
-   v0.1 zip tar
-   r1.0 zip tar
-   r0.11 zip tar
-   r0.10 zip tar
-   r0.9 zip tar
-   r0.8 zip tar
-   new-pkg zip tar