kuaukutsu/poc-queue-redis
最新稳定版本:0.2.1
Composer 安装命令:
composer require kuaukutsu/poc-queue-redis
包简介
Proof of Concept: Task Queue by Redis
README 文档
README
Очередь: Redis / ValKey
Драйвер для работы: amphp/redis, this package provides non-blocking access to Redis instances.
Дополнительно: support for interceptors, which can be used to add functionality to the application without modifying the core code of the application.
Installation
composer require kuaukutsu/poc-queue-redis
Benchmark (with igbinary)
PHPBench (1.4.1) running benchmarks...
with configuration file: /benchmark/phpbench.json
with PHP version 8.3.22, xdebug ✔, opcache ✔
\kuaukutsu\poc\queue\redis\benchmarks\PublisherRedisBench
benchAsWhile............................I4 - Mo27.183ms (±1.60%)
benchAsBatch............................I4 - Mo5.440ms (±3.44%)
\kuaukutsu\poc\queue\redis\benchmarks\PublisherValkeyBench
benchAsWhile............................I4 - Mo27.844ms (±3.44%)
benchAsBatch............................I4 - Mo5.479ms (±2.18%)
Subjects: 4, Assertions: 0, Failures: 0, Errors: 0
+----------------------+--------------+-----+------+-----+----------+----------+--------+
| benchmark | subject | set | revs | its | mem_peak | mode | rstdev |
+----------------------+--------------+-----+------+-----+----------+----------+--------+
| PublisherRedisBench | benchAsWhile | | 10 | 5 | 1.980mb | 27.183ms | ±1.60% |
| PublisherRedisBench | benchAsBatch | | 10 | 5 | 2.214mb | 5.440ms | ±3.44% |
| PublisherValkeyBench | benchAsWhile | | 10 | 5 | 1.980mb | 27.844ms | ±3.44% |
| PublisherValkeyBench | benchAsBatch | | 10 | 5 | 2.214mb | 5.479ms | ±2.18% |
+----------------------+--------------+-----+------+-----+----------+----------+--------+
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-02