StackExchange / StackExchange/StackExchange.Redis
Failover: support single configuration-string connect
Open
@mgravell is already working on this.
Since Jul 31, 2026.
⚙️ area:failover
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 1.6k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Currently a simple connection can be connected via a single configuration-string, but failover groups require code setup; an API should support either simple or group connections using a suitable configuration string format.
Complications:
- the two APIs return concrete
ConnectionMultiplexervs abstractIConnectionGroup : IConnectionMultiplexer; we need to square this; options:- a new
ConnectAny => IConnectionMultiplexerAPI - make
ConnectionMultiplexeran abstract base-class with two concrete subclasses (huge change) - make
ConnectionMultiplexer : IConnectionGroupin a trivial way, i.e. "a conspiracy of one" (this is probably our best option)
- a new
- token choice in the configuration string needs to consider that delimiters may exist in passwords etc; current thinking:
,|,between groups, which is syntactically unambiguous, but a little ugly
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.
Assessment
This issue has not been assessed yet.