(openfire itself does not support cluster deployment, and needs to be extended through plug-ins. Since there are many protocols used by openfire, and there are also many open ports during runtime, it is also a big challenge to do load balancing. In this solution, the Hazelcast plug-in of Openfire is used for cluster deployment, and Haproxy is used for load balancing, and the test is passed in the sample environment.)