A
A
ab2019-08-29 09:46:10
Nginx
ab, 2019-08-29 09:46:10

Websockets in a cluster?

There are n-th number of servers that nginx stands in front of and distributes the load (round robin) on them.
Accordingly, when a request comes to the back of any server, after that, a push occurs, which is already distributed to any other server and, accordingly, there will be no push on the server where the back is.
Are there any ready-made solutions like Pusher or experience in creating your own pusher service?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chupasaurus, 2019-08-29
@chupasaurus

Switch to ip_hashor stop believing in goodness and open source by buying Nginx + / HAProxy where there are sticky sessions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question