socket.io-redis Questions

2

In my Socket.Io / Node.Js / Express app - before I added chat room – I used to emit events like this for everyone (including the sender): io.emit('chat message', msg); Now I added rooms and try to...
Atlantean asked 17/4, 2015 at 17:36

2

Solved

Hi all and thanks for your time and your help. I need a simple example for use socket.io-redis, with comments please. I read the documentation, but I did not understand. Thank you,
Stela asked 9/7, 2016 at 14:17

2

Solved

I'm developing real-time app with Laravel. Since I don't want to use Pusher, I'm trying to make websockets work using Laravel Echo Server, Redis, and Socket.IO. However, I'm having a problem with t...
Beggary asked 24/12, 2020 at 11:18

4

Solved

I start building chat server using Socket.io with multiple nodes. It uses Socket.io-redis to connect all servers together and rooms for messaging. When a client connects with server I join client ...
Villain asked 3/6, 2015 at 16:19

4

I am using socket.io with multiple nodes, socket.io-redis and nginx. I follow this guide: http://socket.io/docs/using-multiple-nodes/ I am trying to do: At a function (server site), I want to quer...
Encratis asked 1/4, 2015 at 12:15

2

I currently am creating a horizontally scalable socket.io server which looks like the following: LoadBalancer (nginx) Proxy1 Proxy2 Proxy3 Proxy{N} BackEnd1 BackEnd2 BackEnd3 BackEnd4 BackEnd...
Novia asked 11/12, 2015 at 6:10

2

Solved

The docs say socket.io doesn't support .get .set now Is it okay to store client associated data like io.sockets.on('connection', function (client) { client.on('data', function (somedata) { cl...
Schedule asked 29/4, 2015 at 3:45

0

What is "efficient way" to check if some room has connected clients or even exists? socket.on('pm', function(data) { data.from = socket.decoded_token._id; var to = data.to; if (_.isUndefined(io...
Theme asked 26/12, 2014 at 6:22
1

© 2022 - 2024 — McMap. All rights reserved.