Download the PHP package kinetis/redis without Composer
On this page you can find all versions of the php package kinetis/redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kinetis/redis
More information about kinetis/redis
Files in kinetis/redis
Package redis
Short Description A non-replaying, deadline-bounded Redis transport for amphp/redis, with TLS, authentication, and Redis Cluster slot routing. Usable standalone, not only with Kinetis.
License MIT
Informations about the package redis
kinetis/redis
A non-replaying, deadline-bounded Redis transport with Cluster routing
Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.
Usable by any Revolt-based project: it depends on amphp/redis,
amphp/socket and the event loop, never on
kinetis/framework.
amphp/redis's own ReconnectingRedisLink re-sends every queued command
after a connection loss, so a command whose outcome is unknown can be
applied twice — a double INCR, a queue job pushed twice. This package
replaces that transport and adds Redis Cluster routing on top of it.
- A command is never re-sent after a connection failure. A failure
before the write is
ConnectionFailedand is safe to retry. A failure after it isOutcomeUnknown, and this package does not decide for you what to do about it. - One budget per operation covers connect, TLS,
AUTH,SELECT, the write, the reply, cluster discovery, and every redirect hop. - Pipelined and idle-clean. Concurrent fibers share one socket, FIFO;
an idle connection holds no event-loop reference, so
EventLoop::run()returns. - Cluster routing with
CLUSTER SLOTSdiscovery, MOVED/ASK, and a six-attempt bound. Routing keys are supplied by the caller, never guessed from a command's parameters. A pre-dispatchConnectionFaileddrops the slot map, so an owner it names that stops answering is routed around after one rediscovery.
amphp/redis's typed command facade composes over the same transport:
Not in scope
No command facade, pub/sub, Sentinel, replica reads, MULTI, background
topology watching, cross-slot aggregation, or retry classification. Use
Amp\Redis\RedisClient over link() for typed commands.
Installation
Requires PHP 8.4+. Full documentation: kinetis.dev/docs/redis.html.
License
MIT — see LICENSE.
All versions of redis with dependencies
amphp/amp Version ^3.1.3
amphp/redis Version ^2.0.4
amphp/socket Version ^2.4.0
revolt/event-loop Version ^1.0.9