On the issue of small flash dialogue: WeChat long connection design in the discussion (2), we learned the cluster mode of long design, including how to realize the load balance principle, cluster mode of single and group chat, in the small flash and Dr Wells of the conversation, we continue to explore how to implement a single graceful restart and how to choose appropriate load balancing algorithm.

If you like this article, please follow the flash blog on wechat and watch the sequel in advance!

Welfare: how to use code to achieve a fake wechat chat IM system, maybe this small volume can help you: “Netty introduction and actual combat: fake writing wechat IM system”