kuaukutsu / poc-queue-redis
Proof of Concept: Task Queue by Redis
Installs: 69
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/kuaukutsu/poc-queue-redis
Requires
- php: ^8.3
- ext-redis: *
- amphp/redis: ^2.0
- kuaukutsu/queue-core: ^0.6
Requires (Dev)
- ext-pcntl: *
- php-di/php-di: ^7.0
- phpbench/phpbench: ^1.4
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^10.1
- rector/rector: ^2.0
- roave/security-advisories: dev-latest
- slevomat/coding-standard: ^8.7
- squizlabs/php_codesniffer: ^3.7
- vimeo/psalm: ^6.13
This package is auto-updated.
Last update: 2026-01-04 11:56:25 UTC
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% |
+----------------------+--------------+-----+------+-----+----------+----------+--------+