beanstalkd源于fackbook,是一个快速、简单的内存消息队列,也可以开启binlog,消息将被写入日志文件,用于重启时恢复数据。1.消息被称作job,在服务器端储存在内存队列中,具有DELAYED,READY,RESERVED,BURIED状态,状态转换图如下Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/Hereisa picture of the typical job lifecycle:put reserve delete----->[READY]--------->[RESERVED]-------->*poof*Hereisa picture with more possibilities:put with delay release with delay---------------->[DELAYED]<------------.|||(time passes)|||put v reserve|delete----------------->[READY]--------->[RESERVED]-
...
继续阅读
(27)