W
W
WAYNEDEV2021-10-04 13:07:21
Node.js
WAYNEDEV, 2021-10-04 13:07:21

Should applications be split into node and socket.io?

Hello!

At the moment, the main application on node has a bunch of its work with postgresql, and here you need to add socket.io for notifications, chats, and more (the volume will be decent).

The question is: is it worth it to separate the socket from the main application? I'm afraid that sooner or later it will start to slow down.

I would be very grateful for your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-10-04
@firedragon

An architecture with a central database and consumers is very common.
If your applications will not depend on each other, then feel free to take them out into separate parts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question