Conclusion
It is suggested that producers and consumers in RabbitMQ Cluster should be controlled at about 70.[Rt99:129ms, TPS:7076/s, RT99:157ms,meet business needs in recent 3 years]
建议:生产者和消费者数量分别在70个左右【Rt99:129ms, TPS:7076/s, RT99:157ms, 满足未来3年内需要】
Client (producer and consumer) must set reconnection mechanism [high availability precondition];
客户端(生产者和消费者),必须设置重连机制【高可用前提条件】;
RabbitMQ does not allow queues with only producers and no consumers; RabbitMQ不允许队列只有生产者,没有消费者;
RabbitMQ Node suggests that the memory threshold should not exceed 0.4 [considering that OPS can quickly access and clear the queue after queue congestion];
RabbitMQ建议内存阀值,建议不超过0.4[考虑到:出现队列拥塞后,OPS能快速 接入清除队列]
The client, HAproxy and RabbitMQ directly adopt the pipeline mode [Haproxy and RabbitMQ have restart and other failures, and the client needs to be reconnected];
客户端、HAproxy、RabbitMQ直接采用Pipeline模式