Round Robin Load Balancer for Node Swarm Clusters Running a Chatting Service on the Cloud
Tanmay Jain1, Ayush Raina2, Boominathan P3

1Tanmay Jain*, BTech Student in Computer Science and Engineering at Vellore Institute of Technology, Vellore, India.
2Ayush Raina, BTech Student in Computer Science and Engineering at Vellore Institute of Technology, Vellore, India.
3Dr. Boominathan P, Associate Professor, School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, India.
Manuscript received on February 10, 2020. | Revised Manuscript received on February 21, 2020. | Manuscript published on March 10, 2020. | PP: 999-1003 | Volume-9 Issue-5, March 2020. | Retrieval Number: D1837029420/2020©BEIESP | DOI: 10.35940/ijitee.D1837.039520
Open Access | Ethics and Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: In this paper, we have created a chat application which uses socket programming for communication and all of the messages are saved in mongoDB. We have taken Docker application and hosted it on a three-node swarm cluster. This cluster uses Docker swarm technology to create a private network through which each of the nodes can talk to each other along a specified RPC port. The application runs in each node as a service and all load coming to the application has been balanced across three IP addresses in the swarm. This creates a distributed system and each node can act as a manager or a worker in the system. This technique helps to decrease the execution time to run servers on the cloud and can help improve the feasibility of online servers provided by the IT companies. 
Keywords: Docker, Virtualization, Socket Programming, Swarm Technology.
Scope of the Article: Logic, Functional Programming and Microcontrollers for IoT