In: Computer Science
Compare and contrast Client/Server to Peer-to-Peer networks and which one you would consider to be best for a specific circumstance or context within a metropolitan area and why. Provide at least 3 examples.
“Client-Server is the best network for the metropolitan area.”
I will prove this statement true by giving you various examples and comparisons between Peer to Peer and Client-Server.
Comparison of Peer to Peer and Client-Server.
Fig(i): Client-Server working.
Fig(ii): Peer to Peer working.
Sno. |
Basis of Comparision |
Client-Server |
Peer To Peet |
1. |
Definition |
In this network, the systems are connected with each other through a medium known as a hub. It is a broadly used network model. The data is stored on the server whenever the client wants to run the program they need to assess the data from the server. |
In this network, the systems are connected with each other Directly via the internet. They don’t require an intermediate for their connection. Each system performs both the roles of the client and a server. The systems share data between each other without the need for intermediate. |
2. |
Area of Focus |
It focuses mainly on sharing information. |
It focuses mainly on sharing connectivity |
3. |
Cost |
It is more costly as compared to P2P. |
These are less expressive. |
4. |
Stability |
With the increase in the number of connections, the stability is not affected. |
With the increase in the number of connections, the stability decreased. |
5. |
Data Storing |
The data is stored on the server. |
Each System(Peer) has its own data storage. |
These are the differences between Peer to Peer and Client-Server network.
Explanation: Why Client-Server is the best network for the metropolitan area.
The metropolitan area network is a larger network when it comes to the comparison with the Local Area Network. An example of a metropolitan area network is a “City”. As City consists of a Large number of users the connection must be stable but In Peer To Peer with the increase of the number of the people the stability automatically decreases. Moreover, Peer to Peer networks can’t be used to connect in the larger areas they are used in the houses. Peer to Peer connection is less secure than Client to Server network they are often victims of attacks like DDoS, DoS, etc. The Peer to Peer connections is only suitable in the small range with fewer than 10 systems. While Client to the server can be used both for small and larger ranges.