On the issue of small flash dialogue: WeChat chat long exploration of the even design (a), we learned a single-machine environment order and group chat the principle, in the small flash and Dr Wells of the conversation, we continue to explore the cluster mode long design, including load balancing implementation principle, how to implement a single cluster mode and group chat.
That’s the end of this installment’s flash dialog. In the next installment, we will continue to discuss what load balancing algorithms are available, which load balancing algorithms we should choose and which load balancing algorithms we should avoid, and how to implement real environment pressure measurement on long connected cluster lines. Please look forward to it!
Finally, I leave a question for you: how to achieve group chat in cluster mode? Welcome to leave a comment and discuss
How to achieve a copy of wechat chat IM system, maybe this booklet can help you: “Netty entry and actual combat: copy of wechat IM instant messaging system”