S4. Compare P2P vs client-server model. What are strong and weak sides? Flashcards
What is the client-server model?
A network hierarchy in which a centralized server provides resources or services to multiple clients
What are examples of applications the client-server model is commonly used for?
Web applications, email, and online databases
What are the strengths of the client-server model?
Centralized managment simplifies security, data backup, and updates. Clients benefit from reliable and consistent access to resources.
What are weaknesses of the client-server model?
There is a single point of failure; if the server goes down, the clients lose access to services. The server may get overloaded leading to performance degradation
What is a P2P model?
In a P2P model, resources are distributed among a network of peers, where each peer acts both as a server and a client
What are examples of the P2P model?
File-sharing networks like BitTorrent, cryptocurrencies and blockchains
What are the strengths of the P2P model?
There is no single point of failure; if one peer goes offline, other peers can continue to provide services. Efficient resource utilization, as increased participation can enhance overall capacity and performance.
What are weaknesses of P2P?
Its decentralized nature makes it hard to enforce security policies and prevent malicious activity, introducing security and data-integrity related challenges. Performance can be inconsistent as it relies on availability and bandwidth of individual peers.