StackExchange / StackExchange/StackExchange.Redis

Cluster Broadcast

Open
#2,333 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.2k
Forks
1.6k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

I'm trying to create a broadcast option when using a cluster.
It should look like that:

  1. Take an existing cluster / create one.
  2. Find all its master nodes.
  3. Send a certain command to all those master nodes.

This is necessary, for example, when I want to flush databases on all cluster nodes.

Is there a convenient built-in way to do this thing in StackExchange.Redis?
And if not, how can it still be done?

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

No files or tests are named. Start by reviewing the cluster command APIs and master-node discovery; done means determining whether StackExchange.Redis supports sending a command to every master and documenting or implementing the required broadcast behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, redis
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.