Beanstalkd is sample, fast work queue. By kr/beanstalkd
Its interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.
This docker image is available as a build on the docker hub, so there's no setup required. Using this image for the first time will start a download automatically. Further runs will be immediate, as the image will be cached locally.
The recommended way to run this container looks like this:
$ sudo docker run -d -p 11300:11300 wolfdeng/beanstalkd
The above example exposes the Beanstalk on port 11300, so that you can use it in your application.
You can also use docker's links to link beanstalkd service to your container.
English version and Chinese version or My reformat Chinese version
~ # beanstalkd -h
Options:
-b DIR wal directory
-f MS fsync at most once every MS milliseconds (use -f0 for "always fsync")
-F never fsync (default)
-l ADDR listen on address (default is 0.0.0.0)
-p PORT listen on port (default is 11300)
-u USER become user and group
-z BYTES set the maximum job size in bytes (default is 65535)
-s BYTES set the size of each wal file (default is 10485760)
(will be rounded up to a multiple of 512 bytes)
-c compact the binlog (default)
-n do not compact the binlog
-v show version information
-V increase verbosity
Content type
Image
Digest
Size
1.9 MB
Last updated
almost 9 years ago
docker pull wolfdeng/beanstalkd