It keeps track of connected backend servers in a list and a flag to check the connection status of the backend server. It receives the entire request from clients and forwards it to multiple backend servers. There is one front-end server running in our application. Client application runs two threads- one for sending messages and other for receiving message from different clients. Multiple clients can send request to frontend server. Once correct IP address is entered, front-end server adds the client address to a list and it creates a connection with the client. I have three applications forĬlient will be prompted to enter the IP address of the front-end server to connect to the chat application. If the primary server is not running, then the request is sent to Primary Server 2. If the message length is greater than 7 then by default the messages are sent to Primary Server 1. For Load Balancing, the requests from clients are balanced to the backend server by the front end server based on a number of clients and size of the message as the critical factors. For reliability, if one of the backend servers is crashed or terminated, the other server handles the request from clients. I have also encrypted and decrypted the chat for security.įor this application, I have implemented multi-server chat with reliability and Load Balancing. There are two or more backend servers which handle client requests and respond to all active clients. Front-end sever manages multiple backend servers for reliability and Load Balancing. The application consists of multiple clients who can join to a front-end server using its IP address. multiple co-operating servers with location transparency. The objective of this application is to develop a multi-server chat i.e. Multi Client Multi Server Chat Application in Python with Load Balancing and Reliability
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |