Skip to content

Commit b3da354

Browse files
Add message queue deployment recommendations
1 parent 3625fe8 commit b3da354

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/server.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,6 +1089,25 @@ The RabbitMQ queue is configured through the
10891089
mgr = socketio.AsyncAioPikaManager('amqp://')
10901090
sio = socketio.AsyncServer(client_manager=mgr)
10911091

1092+
Deploying the Message Queue for Production
1093+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1094+
1095+
For a production deployment there are a few recommendations to keep your
1096+
application secure.
1097+
1098+
First of all, the message queue should never be listening on a public network
1099+
interface, to ensure that external clients never connect to it. The use of a
1100+
private network (VPC), where the communication between servers can happen
1101+
privately is highly recommended.
1102+
1103+
In addition, all message queues support authentication and encryption.
1104+
Authentication ensures that only the Socket.IO servers and related processes
1105+
have access, while encryption prevents data to be collected by a third-party
1106+
listening on the network.
1107+
1108+
Access credentials can be included in the connection URLs that are passed to the
1109+
client managers.
1110+
10921111
Horizontal Scaling
10931112
~~~~~~~~~~~~~~~~~~
10941113

0 commit comments

Comments
 (0)