Async-Redis
view release on metacpan or search on metacpan
```
## Performance
Benchmarks on localhost with default settings:
| Operation | ops/sec |
|-----------|---------|
| Sequential SET | ~2,000 |
| Sequential GET | ~2,200 |
| Pipelined SET (batch 100) | ~60,000 |
| Pipelined GET (batch 100) | ~60,000 |
| Mixed pipeline | ~64,000 |
Pipelining provides ~30x throughput improvement over sequential commands.
## Architecture
```
âââââââââââââââââââââââââââââââââââââââ
â Async::Redis â
â - Connection management â
â - Command methods â
â - Pipelining / Auto-pipeline â
â - PubSub / Transactions â
â - Connection pooling â
âââââââââââââââââââââââââââââââââââââââ
â
â¼
âââââââââââââââââââââââââââââââââââââââ
â Protocol::Redis(::XS) â
â - RESP2 parsing/encoding â
â - Streaming/incremental â
âââââââââââââââââââââââââââââââââââââââ
â
â¼
âââââââââââââââââââââââââââââââââââââââ
â Future::IO â
â - Event loop abstraction â
â - read/write/connect â
âââââââââââââââââââââââââââââââââââââââ
â
â¼
âââââââââââââââââââââââââââââââââââââââ
â IO::Async / AnyEvent / UV / etc. â
âââââââââââââââââââââââââââââââââââââââ
```
## Dependencies
**Required:**
- Future::IO (0.19+)
- Future::AsyncAwait
- Protocol::Redis
**Recommended:**
- Protocol::Redis::XS (faster parsing)
- IO::Async (or your preferred event loop)
**Optional:**
- IO::Socket::SSL (for TLS)
- OpenTelemetry::SDK (for observability)
## See Also
- [Future::IO](https://metacpan.org/pod/Future::IO) - The underlying async I/O abstraction
- [Future::AsyncAwait](https://metacpan.org/pod/Future::AsyncAwait) - Async/await syntax
- [Redis](https://metacpan.org/pod/Redis) - Synchronous Redis client
- [Net::Async::Redis](https://metacpan.org/pod/Net::Async::Redis) - Another async Redis client
## Author
John Napiorkowski
## License
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
( run in 2.045 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )