Designing a Chat Room Application: Using Peer-To-Peer and Client-Server Approach of Distributed Systems | Original Article
A distributed system is an application that executes a collection of protocols to coordinate the actions of multiple processes on a network, such that all components cooperate together to perform a set of related tasks. Early distributed systems emerged in the late 1970s and early 1980s because of the usage of local area networking technologies. Internet scale distributed systems emerged in the 1990s because of the growth of the Internet. A distributed system can be physically instructed by two ways: First, fully connected network peer- to –peer approach in which each of the nodes is connected to each other. Second, partially connected network in which a direct links exist between some but not all pairs of computers. A few of the partially connected network models are star (client server) structured networks, multi-access bus networks ring structured networks, and tree-structured networks. The purpose of this paper is to design a chat room application which is based on the architecture of distributed system. This paper used a peer-to-peer approach and a client-server one to design the chat room application.