beanstalkd 说明文档
- BEANSTALKD(1)
- BEANSTALKD(1)
NAME
beanstalkd - simple, fast work queue
SYNOPSIS
beanstalkd [options]
DESCRIPTION
Beanstalkd is a simple work-queue service. Its interface is generic, though it was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.
When started, beanstalkd opens a socket (or uses a file descriptor provided by theinit(1) system, see ENVIRONMENT) and listens for incoming connections. For each connection, it reads a sequence of commands to create, reserve, delete, and otherwise manipulate "jobs", units of work to be done. See file doc/protocol.txtin the beanstalkd distribution for a thorough description of the meaning and format of the beanstalkd protocol.
OPTIONS
-bpath-
Use a binlog to keep jobs on persistent storage in directory path. Upon startup,
beanstalkdwill recover any binlog that is present in path, then, during normal operation, append new jobs and changes in state to the binlog. -c-
Perform online, incremental compaction of binlog files. Negates
-n. This is the default behavior.(Do not use this option, except to negate
-n. Both-cand-nwill likely be removed in a futurebeanstalkdrelease.) -fms-
Call fsync(2) at most once every ms milliseconds. Larger values for msreduce disk activity and improve speed at the cost of safety. A power failure could result in the loss of up to ms milliseconds of history.
A ms value of 0 will cause
beanstalkdto call fsync every time it writes to the binlog.(This option has no effect without
-b.) -F-
Never call fsync(2). Equivalent to
-fwith an infinite ms value.This is the default behavior.
(This option has no effect without
-b.) -h-
Show a brief help message and exit.
-laddr-
Listen on address addr (default is 0.0.0.0).
(Option
-lhas no effect if sd-daemon(5) socket activation is being used. See also ENVIRONMENT.) -n-
Turn off binlog compaction, negating
-c.(Do not use this option. Both
-cand-nwill likely be removed in a futurebeanstalkdrelease.) -pport-
Listen on TCP port port (default is 11300).
(Option
-phas no effect if sd-daemon(5) socket activation is being used. See also ENVIRONMENT.) -sbytes-
The size in bytes of each binlog file.
(This option has no effect without
-b.) -uuser-
Become the user user and its primary group.
-V-
Increase verbosity. May be used more than once to produce more verbose output. The output format is subject to change.
-v-
Print the version string and exit.
-zbytes-
The maximum size in bytes of a job.
ENVIRONMENT
LISTEN_PID,LISTEN_FDS- These variables can be set by init(1). See sd_listen_fds(3) for details.
SEE ALSO
sd-daemon(5), sd_listen_fds(5)
Files README and doc/protocol.txt in the beanstalkd distribution.
http://kr.github.com/beanstalkd/
AUTHOR
Beanstalkd is written and maintained by Keith Rarick with the help of many others.
- APRIL 2012
- BEANSTALKD(1)
beanstalkd 说明文档的更多相关文章
- 【腾讯GAD暑期训练营游戏程序班】游戏场景管理作业说明文档
场景管理作业说明文档 用了八叉树的算法,测出三层时最快,区域范围内物体数量为21块,控制台打印出的结果如图所示: 场景物体:游戏中,所有具有空 ...
- 浏览器内核控制Meta标签说明文档
浏览器内核控制Meta标签说明文档 原文链接 背景介绍 由于众所周知的情况,国内的主流浏览器都是双核浏览器:基于Webkit内核用于常用网站的高速浏览.基于IE的内核用于兼容网银.旧版网站.以360的 ...
- OAuth2.0说明文档
OAuth2.0说明文档 1.OAuth 2.0 简介 OAuth为应用提供了一种访问受保护资源的方法.在应用访问受保护资源之前,它必须先从资源拥有者处获取授权(访问许可),然后用访问许可交换访问令牌 ...
- Net 通用权限管理系统源码 带数据库设计文档,部署说明文档
Net 通用权限管理系统源码 带数据库设计文档,部署说明文档 包括数据库设计文档部署安装文档源码数据库文件 下载地址:http://www.mallhd.com/archives/1389
- SWFUpload 2.5.0版 官方说明文档 中文翻译版
原文地址:http://www.cnblogs.com/youring2/archive/2012/07/13/2590010.html#setFileUploadLimit SWFUpload v2 ...
- 在Sharepoint 2010中启用Session功能的说明文档
在Sharepoint 2010中启用Session功能的说明文档 开发环境:Windows 7系统,SharePoint Server 2010,Visual Studio 2010 按以下步骤进行 ...
- Highcharts选项配置详细说明文档(zz)
http://www.helloweba.com/view-blog-156.html Highcharts提供大量的选项配置参数,您可以轻松定制符合用户要求的图表,目前官网只提供英文版的开发配置说明 ...
- Java基础(60):Java打包生成Jar和Javadoc说明文档,以及在另外的工程中导入和使用自己的Jar
一.Jar包的导出 1.在Package Explorer中选中项目,右键,点击“Export” 2.在弹出框一次选择Java-->JAR file,点击Next 3.在新弹出的窗口选择 ...
- JAVA 文档注释,类的说明,HTML说明文档的生成
有的时候,我们会写一些类,编译成.class文件,给别人使用,那么,别人不知道这个类有哪些方法,如何调用. 所以我们需要做一个类的说明文档. 可以采用在.java类里面进行注释,通过注释来生成类的说明 ...
随机推荐
- GPUImage中饱和度调整的实现——GPUImageSaturationFilter
饱和度saturation,是指色彩的鲜艳程度,也称色彩的纯度.饱和度取决于该色中含色成分和消色成分(灰色)的比例.含色成分越大,饱和度越大:消色成分越大,饱和度越小.纯的颜色都是高度饱和的,如鲜红, ...
- 白鹭引擎 - 遮罩( Rectangle )
1: 矩形遮罩 class Main extends egret.DisplayObjectContainer { /** * Main 类构造器, 初始化的时候自动执行, ( 子类的构造函数必须调用 ...
- groovy 从jsonList中读取某个字段
今天又被groovy的高效吓到了. 想提取所有的itemCodes,两种玩法 一.常规方法:遍历组装 RestResult items = getListPager() def temp = [] i ...
- 机器学习进阶-案例实战-图像全景拼接-书籍SIFT特征点连接 1.cv2.drawMatches(对两个图像的关键点进行连线操作)
1.cv2.drawMatches(imageA, kpsA, imageB, kpsB, matches[:10], None, flags=2) # 对两个图像关键点进行连线操作 参数说明:im ...
- 用 CentOS 7 打造合适的科研环境
这篇博文记录了我用 CentOS 7 搭建 地震学科研环境 的过程,供我个人在未来重装系统时参考.对于其他地震学科研人员,也许有借鉴意义. 阅读须知: 本文适用于个人电脑,不适用于服务器: 不推荐刚接 ...
- struts2中的constant介绍之struts.objectFactory与spring的整合
struts2提供给我们更为灵活的设计,他的很多东西都是可以手动配置的,下面介绍下他的一些 常用的constant作用和配置 struts.objectFactory这个属性用于说明Struts2的 ...
- wed开发基础--练习题
一.HTML部分 本小节重点: 熟练使用div+span布局,知道div和span的语义化的意思 熟悉对div.ul.li.span.a.img.table.form.input标签有深刻的认知, 初 ...
- VirtualAlloc申请进程空间
https://baike.baidu.com/item/VirtualAlloc 百度百科 https://msdn.microsoft.com/zh-cn/library/window ...
- jeecg使用小结
1.上传word模板时报“java.lang.UnsatisfiedLinkError: no jacob-1.17-M2-x64 in java.library.path”异常 原因:jdk下没有找 ...
- ANg-线性回归算法
线性回归算法 linear regression 对于线性回归模型,我们期望对于样本数据集,通过假设函数,得出目标值 代价函数 m在这里指的是训练样本的数量 所以我们的目的就是得出代价函数(平方误差代 ...