SocketCluster / SocketCluster/socketcluster

vertical scaling with sc-broker

Open
#472 2 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

Hi,

I apologize for using issues to ask a question. I am new to SC and am trying to wrap my head around the framework.. My use case is a chat with multiple workers on a vertically scaled machine. I would like to persist shared data from the chat in memory, so that if a client drops they can catch up with lost messages. Would I store the data using sc-broker? If so is there an example I can reference that has multiple workers with a central shared memory store?

Thank you so much!

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

No files, tests, or entry points are mentioned. Start with the sc-broker documentation and existing examples, then determine whether it supports shared in-memory state across vertically scaled workers and whether a multi-worker chat example exists; document the supported approach or clarify its limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
distributed-systems, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.