StackExchange / StackExchange/StackExchange.Redis
Better docs on multiplexing
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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