SocketCluster / SocketCluster/socketcluster
Comunicate between servers
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6.2k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
We try to comunicate betweeen servers with scServer.exchange.subscribe. When run in one machine with x brokers all works fine but we now mount a horizontal cluster with x machines and ecah machine wirh x workers. All machines are conected to one state server and have a scc-broker. Now we can't use this method, have this error:
NoMatchingSubscribeTargetError: Could not find a matching subscribe target scc-broker for the channelControl channel - The scc-broker may be down
Contributor guide
No contributing guide indexed for this repository
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 reproducing the horizontal cluster described in the issue, with multiple machines, workers, a shared state server, and an scc-broker on each machine. Inspect the scServer.exchange.subscribe path and the channelControl target lookup around NoMatchingSubscribeTargetError. Done means subscriptions communicate successfully across the clustered servers without the missing-target error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100