2018-02-16 23:19:07 +00:00
|
|
|
# beanstalkd
|
|
|
|
|
|
|
|
> A simple and generic work-queue server.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://beanstalkd.github.io/>.
|
2018-02-16 23:19:07 +00:00
|
|
|
|
2024-02-19 14:13:42 +00:00
|
|
|
- Start the server, listening on port 11300:
|
2018-02-16 23:19:07 +00:00
|
|
|
|
|
|
|
`beanstalkd`
|
|
|
|
|
2024-02-19 14:13:42 +00:00
|
|
|
- Listen on a specific [p]ort and address:
|
2018-02-16 23:19:07 +00:00
|
|
|
|
|
|
|
`beanstalkd -l {{ip_address}} -p {{port_number}}`
|
|
|
|
|
|
|
|
- Persist work queues by saving them to disk:
|
|
|
|
|
|
|
|
`beanstalkd -b {{path/to/persistence_directory}}`
|
|
|
|
|
|
|
|
- Sync to the persistence directory every 500 milliseconds:
|
|
|
|
|
|
|
|
`beanstalkd -b {{path/to/persistence_directory}} -f {{500}}`
|