File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1089,6 +1089,25 @@ The RabbitMQ queue is configured through the
1089
1089
mgr = socketio.AsyncAioPikaManager('amqp://')
1090
1090
sio = socketio.AsyncServer(client_manager=mgr)
1091
1091
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
+
1092
1111
Horizontal Scaling
1093
1112
~~~~~~~~~~~~~~~~~~
1094
1113
You can’t perform that action at this time.
0 commit comments