use php-amqplib to connect to
rabbitmq server remotely, regardless of network latency, each connection will cost at least 400ms, which is too slow. If it takes more than 200 ms, to execute a php connection to the local rabbitmq on the server side, and then opens and closes the connection continuously after each send, it will be reduced to more than 100 ms.
is this the speed of all rabbitmq connections?
how does PHP interact with message queues in general? PHP direct new AMQPStreamConnection to create a connection to send? You can still add a cache in the middle, for example, php is first written to redis, and then published to the rabbitmq message queue with a background mechanism, but it feels like taking off your pants and farting many times.