2018-02-16 23:19:07 +00:00
|
|
|
# beanstalkd
|
|
|
|
|
|
|
|
> A simple and generic work-queue server.
|
2025-03-28 05:26:23 +02:00
|
|
|
> More information: <https://manned.org/beanstalkd>.
|
2018-02-16 23:19:07 +00:00
|
|
|
|
2024-02-19 11:13:42 -03:00
|
|
|
- Start the server, listening on port 11300:
|
2018-02-16 23:19:07 +00:00
|
|
|
|
|
|
|
`beanstalkd`
|
|
|
|
|
2024-02-19 11:13:42 -03: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}}`
|