Page MenuHomePhabricator

Explore replacing asyncio-redis with redis.asyncio
Closed, ResolvedPublicSpike

Description

The asyncio-redis client library describes itself as "working fine, but not actively maintained". The code has not seen an update in the last 4 years. If everything was working fine for us that would also be fine, but testing of T359982: Update irc task to use AsyncRedisQueue is showing that there are some asyncio+redis issues to work out still in our application.

The redis client library has supported asyncio operations since version 4.2.0 was released 2 years ago. That library is also actively maintained with the release of v5.0.3 happening only days ago, and v5.1.0 in active pre-release testing.

I propose that we should try swapping in the redis.asyncio package and evaluate the resulting complexity of code and features with a hope that we can gain more stability for our long polling use case.

Details

TitleReferenceAuthorSource BranchDest Branch
Revamp irc bot plugin and queuetoolforge-repos/wikibugs2!15bd808work/bd808/irc-plugin-and-queue-revampmain
Customize query in GitLab