StackExchange / StackExchange/StackExchange.Redis

Better docs on multiplexing

Open
#580 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📃 documentation 🙌 up-for-grabs
Dominant language
C#
Stars
6.2k
Forks
1.6k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

I may be incorrect, but it is my understanding that the multiplexer effectively batches Redis commands across several requests that are running simultaneously on a given box in order to increase throughput / reduce latency. If I'm incorrect, just let me know and stop reading 😄

If that is correct, could you add a document explaining how you do this? Anything from a high-level overview to pointing at lines of code that implement it would be great. I'm just curious in understanding how this works. For example, do you queue up requests for N milliseconds and then send them?

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing how the multiplexer handles Redis commands from several simultaneous requests. Explain whether commands are batched, including when they are sent, and point readers to the relevant implementation lines. Done means the documentation gives a high-level overview and answers the request’s timing question.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, redis
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.