Good evening, day.

The correct update system like VKontakte.

I have an old update system, I update it with a new one using socket.io and now.js , so I need to create a unique stream for each user, I think through a regular array.

Can you tell me how to intelligently create a stream for each user?

  • What does the word "stream" mean in this case? - beardog

1 answer 1

Of course, I am not an expert in Node.js, but I think that there is no right way for every user to create a dedicated stream. At least, this clearly contradicts the declared ideology of Node.js. As I understand it, this is an event-driven asynchronous server. By and large, his main idea is to not do that, i.e. do not create a stream per user.