tldr/pages/common/beanstalkd.md

21 lines
485 B
Markdown
Raw Normal View History

2018-02-16 23:19:07 +00:00
# beanstalkd
> A simple and generic work-queue server.
> More information: <https://beanstalkd.github.io/>.
2018-02-16 23:19:07 +00:00
- Start the server, listening on port 11300:
2018-02-16 23:19:07 +00:00
`beanstalkd`
- 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}}`