https://github.com/streamich/redis-joy
Fast and mean Redis 7+ cluster client written in TypeScript which supports RESP3 protocol
https://github.com/streamich/redis-joy
Last synced: 11 months ago
JSON representation
Fast and mean Redis 7+ cluster client written in TypeScript which supports RESP3 protocol
- Host: GitHub
- URL: https://github.com/streamich/redis-joy
- Owner: streamich
- License: apache-2.0
- Created: 2023-12-13T00:22:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-08-08T15:39:54.000Z (11 months ago)
- Last Synced: 2025-08-09T14:53:26.592Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 521 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# redis-joy
An implementation of Redis client in TypeScript.
- Supports Redis 7+.
- Supports Redis cluster mode.
- Supports Redis RESP3 serialization protocol.
- Very fast RESP3 message encoder and streaming decoder.
- Supports TLS connections.
- Supports all subscription types: `SUBSCRIBE`, `PSUBSCRIBE`, `SSUBSCRIBE`.
## Benchmarks
`redis-joy` performs substantially faster than `ioredis` and `redis` packages:
```
npx ts-node src/__bench__/GET.bench.ts
redis-joy x 320,967 ops/sec ±5.26% (79 runs sampled)
ioredis x 152,971 ops/sec ±6.76% (76 runs sampled)
redis x 221,573 ops/sec ±50.06% (53 runs sampled)
Fastest is redis-joy
```