SocketCluster / SocketCluster/socketcluster

Comunicate between servers

Open
#433 7 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.