silverstripe/blowgun
最新稳定版本:2.1.1
Composer 安装命令:
composer require silverstripe/blowgun
包简介
README 文档
README
Blowgun is a library and tool to send and receive messages from AWS SQS. It's mean to be deployed to an AWS web instance and fetch messages that 'commands' the instance to run jobs or tasks.
Developing blowgun
Start a queue subscriber like this:
./bin/blowgun listen local `whoami` dev --node-name mynode --script-dir ../scripts/
This will create and fetch messages from two SQS queues:
- local-{whoami}-dev-stack
- local-{whoami}-dev-instance-mynode
Since the behaviour of a SQS is that only one instance will normally receive and work on a message, there are two different uses for these queues:
The first queue is for messages where it doesn't matter which instance does the action, for example snapshot actions.
The second queue is for messages that targets an individual instance. This can be used to ensure that all instances goes into maintenance mode.
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-07-01