1 comment

[ 3.4 ms ] story [ 10.0 ms ] thread
This release diverges significantly from aredis, the library coredis was forked from - and from redis-py (which aredis was based on).

The client introduces features that are not available as high level features in any (afaik) single python redis client.

New features (some introduced in the 3.x series and improved & hardened in 4.0):

- Support for noreply mode

- Support for synchronous replication of write commands

- Server assisted client side caching

- Sharded Pub Sub

- High Level Stream consumers

- High performance python parser (compiled to native when possible using mypyc)

- Exact type annotations for redis command responses

- Runtime type checking using beartype

- Default use of RESP3 protocol

- Cross slot support for multi key commands such as delete & exists

- Compatibility with KeyDB & Dragonflydb

- Decorators to create "type safe" interfaces for redis scripts & libraries.