M
M
Mertico2017-01-18 19:37:13
JavaScript
Mertico, 2017-01-18 19:37:13

Socket.IO Why slow data distribution to all clients?

I have for example 50 connections, then the delay is about 50-70ms.
It sends data to each client separately in about 1ms. Is there any way to speed up the sending of packets?
I send data like this:
io.sockets.emit('refresh', data);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Bublikov, 2017-01-19
@bublik462

Most likely due to iron, since it is an asynchronous engine.
what iron do you have?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question