Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Request: Support pipeline for Redis

Open
#265 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
redis, typescript

Research direction

Start by inspecting Devvit's Redis client API and the existing zAdd and zRank command paths. Compare the requested pipeline and exec shape with the current client behavior. Done means commands can be queued in order, sent without a round trip per command, and return results such as the zRank value from exec.

Written by the indexing model from the issue text.

Description

It would be great to have a pipeline API on Devvit's redis client. Right now, to guarantee command ordering you have to await each call individually, which adds a round trip per command. With pipelining, commands could be batched and sent in a single TCP write without transaction overhead. Many Redis clients (E.g. ioredis) expose it through .pipeline()

// Not guaranteed Redis receives first command first. 
redis.zAdd(...)
redis.zRank(...)

// Awaiting adds a round trip 
await redis.zAdd(...)
redis.zRank(...)

// No round trip, fast and guaranteed order
const pipeline = redis.pipeline()
pipeline.redis.zAdd(...)
pipeline.redis.zRank(...)
const [ _, rankResult ] = await pipeline.exec()
Dominant language
TypeScript
Stars
210
Forks
88
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reddit/devvit

All issues in reddit/devvit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.