https://github.com/iolanguage/beanstalk
https://github.com/iolanguage/beanstalk
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iolanguage/beanstalk
- Owner: IoLanguage
- License: bsd-3-clause
- Created: 2018-03-11T11:48:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-12T17:29:39.000Z (about 8 years ago)
- Last Synced: 2025-10-26T15:40:02.307Z (8 months ago)
- Language: Io
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Beanstalk
> NOTE: Doesn't work — has unidentified dependency YAML.
beanstalkd is a fast, distributed, in-memory workqueue service. See http://xph.us/software/beanstalkd/
An example from http://xph.us/software/beanstalkd/:
First, have one process put a job into the queue:
```Io
producer := Beanstalk clone connect("127.0.0.1:11300")
producer put("hello")
```
Then start another process to take jobs out of the queue and run them:
```Io
worker := Beanstalk clone connect("127.0.0.1:11300")
loop(
job := worker reserve
job body println # prints "hello"
job delete
)
```
See Beanstalk.io code and protocol description (http://github.com/kr/beanstalkd/tree/master/doc/protocol.txt) for details.
Both are short and easy to read.
Stat commands depend on YAML.
# Installation
```
eerie install https://github.com/IoLanguage/Beanstalk.git
```