Async-Redis

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

```

## 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 )