TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

coredis 4.0 – async Python Redis client

4 点作者 indydevs将近 3 年前

1 comment

indydevs将近 3 年前
This release diverges significantly from aredis, the library coredis was forked from - and from redis-py (which aredis was based on).<p>The client introduces features that are not available as high level features in any (afaik) single python redis client.<p>New features (some introduced in the 3.x series and improved &amp; hardened in 4.0):<p>- Support for noreply mode<p>- Support for synchronous replication of write commands<p>- Server assisted client side caching<p>- Sharded Pub Sub<p>- High Level Stream consumers<p>- High performance python parser (compiled to native when possible using mypyc)<p>- Exact type annotations for redis command responses<p>- Runtime type checking using beartype<p>- Default use of RESP3 protocol<p>- Cross slot support for multi key commands such as delete &amp; exists<p>- Compatibility with KeyDB &amp; Dragonflydb<p>- Decorators to create &quot;type safe&quot; interfaces for redis scripts &amp; libraries.