How to make RabbitMQ scalable?

后端 未结 2 1575
半阙折子戏
半阙折子戏 2021-01-13 12:02

I tried to test RabbitMQ, but I found that rabbitmq has some problems: if I created a cluster of 3 nodes, I can\'t publish/delivered more than 6000/s. in other hand, if I wo

2条回答
  •  生来不讨喜
    2021-01-13 12:30

    I resolved the problem by adding load balancer. The producers send data to load balancer. On the other hand the load balancer id connected to many nodes of rabbitmq, but those nodes are not connected between them (to avoid synchronization which affects the performance). So by this way, I can multiply the throughput (ex: 3 nodes= 3x throughput).

提交回复
热议问题