ptrofimov/beanstalk_console
Composer 安装命令:
composer create-project ptrofimov/beanstalk_console
包简介
Admin console for Beanstalk queue server
关键字:
README 文档
README
Admin console for Beanstalk queue server, written in PHP
Features
- Common list of servers in config for all users + optional Basic Auth
- Global server list can be set via BEANSTALK_SERVERS environment variable
- Each user can add its own personal Beanstalkd server
- Complete statistics about jobs in tubes
- Realtime auto-update with highlighting of changed values
- View jobs in ready/delayed/buried states in every tube
- Highlighting of buried jobs for better visibility
- Add/kick/delete jobs in every tube
- Select multiple tubes by regular expression and clear them
- Saved jobs: Store sample jobs as templates, kick/edit them (useful for development)
- Search within job data fields
- Move jobs between tubes
- Pause tubes
- Prepare review batches by moving jobs into an isolated review tube before moving, duplicating, or deleting them
- Configurable UI settings (auto-refresh, decoding, pause duration, etc.)
Review batches
Review batches help inspect a bounded set of jobs without workers changing them during review. From a tube page, click "Prepare review batch", choose the source state, set how many current jobs to review, and choose the review tube name. Ready and delayed jobs can be reviewed when no clients are watching/waiting or when the tube is paused; the dialog can pause the tube and proceed when needed. Buried jobs can be reviewed directly because workers cannot reserve buried jobs.
The review page uses a destination tube field, prefilled with the source tube. Moving jobs to the source tube returns them; changing the destination moves them elsewhere. Existing tubes are suggested, but new tube names can be typed. Selected jobs or all undecided jobs can also be duplicated to the destination or deleted from the review tube. Duplicated jobs remain available for further review actions until their review copy is moved or deleted. Job bodies can be snapshotted to local JSONL during preparation so they remain visible after review copies are moved or deleted.
Review batch files are console-local support files used for auditing, current-state tracking, exports, and optional body display. They are not automatically removed, so delete completed review batches or disable body snapshots if disk growth is a concern.
Change log
Navigate to Releases.
Installation
Use composer (recommended)
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the create-project command to generate a new application:
php composer.phar create-project ptrofimov/beanstalk_console -s dev path/to/install
Composer will install the Beanstalk Console and all its dependencies under the path/to/install directory.
Run as a Docker container
Install Docker then build and run with the following command (from project root):
docker build --rm -t beanstalk_console .
docker run -d -p "80:80" --name beanstalk_console beanstalk_console
If you would rather just run the existing automated build of this project, run (from project root):
docker run -d -p "80:80" -e APACHE_PORT=80 --name beanstalk_console agaveapi/beanstalkd-console
To configure webapp with a custom beanstalk server to load at runtime, set the BEANSTALKD_HOST and BEANSTALKD_PORT environment variables.
docker run -d -p 80:80 \
--name beanstalk_console \
-e 'BEANSTALKD_HOST=beanstalkd' \
-e 'BEANSTALKD_PORT=11300' \
beanstalk_console
To spin up a console with a beanstalkd server all at once, install Docker Compose and run (from project root):
docker-compose up
Setup using vagrant
Install VirtualBox and vagrant then run (from project root):
vagrant up
After provision beanstalk console will be available at http://localhost:7654 (port could be configured in Vagrantfile)
Download an Archive File
Download, unzip files to your www directory and launch from public directory, enjoy!
Authors: Petr Trofimov, Sergey Lysenko, Pentium10
** Previous version is available here**
Keywords: beanstalk, beanstalkd, queue, console, gui, admin, web admin, monitoring, stats, interface, php
ptrofimov/beanstalk_console 适用场景与选型建议
ptrofimov/beanstalk_console 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 126.32k 次下载、GitHub Stars 达 1.27k, 最近一次更新时间为 2013 年 12 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「queue」 「admin」 「php」 「console」 「monitoring」 「stats」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ptrofimov/beanstalk_console 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ptrofimov/beanstalk_console 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ptrofimov/beanstalk_console 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
2lenet/EasyAdminPlusBundle
PHP AMQP Binding Library
A Laravel package to monitor queue jobs.
Analysis module for finding problematical shop data.
Message queue statistics for OroPlatform
Redis backed library for creating background jobs and processing them later.
统计信息
- 总下载量: 126.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1274
- 点击次数: 23
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-12-25