socket.io-sticky icon indicating copy to clipboard operation
socket.io-sticky copied to clipboard

A simple and performant way to use Socket.IO within a cluster.

Results 6 socket.io-sticky issues
Sort by recently updated
recently updated
newest added

node_modules/@socket.io/sticky/index.js:93 cluster.workers[workerId].send( ^ TypeError: Cannot read properties of undefined (reading 'send') at Socket. (/Users/*/Documents/GitHub/*/node_modules/@socket.io/sticky/index.js:93:35) at Socket.emit (node:events:531:35) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) at Readable.push (node:internal/streams/readable:390:5) at TCP.onStreamRead (node:internal/stream_base_commons:190:23) Node.js...

Hello, Socket.io works well when requested directly with the example: ``` const cluster = require("cluster"); const http = require("http"); const { Server } = require("socket.io"); const numCPUs = require("os").cpus().length; const...

Hi there, For starters, I am using Socket.io 2.1.1 (old, I know but it worked with React-Native). I have a server that I am not sure is effectively displaying sticky...

bug

Hello! We've been trying to integrate this library into our code base, we use Socket IO quite generously and balancing traffic based on the sid combined with not using the...

question

Hi, I'm trying to use socket.io-sticky library with a socket.io Redis stream adapter. My use case is the following, I have several severs (A & B) and I have several...