MQ:Beanstalkd 队列复习(一)

 一、安装

CentOs:

yum install beanstalkd  

 

二、后台启动

beanstalkd -l 地址 -p 端口号 -z 最大的任务大小(byte) -c &

eg:

beanstalkd -l 127.0.0.1 -p 11300  -c &
如果是外部客户端连接,ip地址要写外网地址,这样才能连接上
启动选项
-b DIR wal directory
-f MS fsync at most once every MS milliseconds (use -f0 for “always fsync”)
-F never fsync (default)
-l ADDR listen on address (default is 0.0.0.0)
-p PORT listen on port (default is 11300)
-u USER become user and group
-z BYTES set the maximum job size in bytes (default is 65535)
-s BYTES set the size of each wal file (default is 10485760)
(will be rounded up to a multiple of 512 bytes)
-c compact the binlog (default)
-n do not compact the binlog
-v show version information
-V increase verbosity
-h show this help

三、查看是否启动

ps -ef|grep beanstalkd

 

四、图形用户管理界面

aurora

GitHub: github.com/xuri/aurora

 

本博客地址: wukong1688

本文原文地址:https://www.cnblogs.com/wukong1688/p/13341788.html

转载请著名出处!谢谢~~

posted @ 2020-07-19 22:34  wukong1688  阅读(128)  评论(0编辑  收藏  举报