S4. Compare P2P vs client-server model. What are strong and weak sides? Flashcards

1
Q

What is the client-server model?

A

A network hierarchy in which a centralized server provides resources or services to multiple clients

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are examples of applications the client-server model is commonly used for?

A

Web applications, email, and online databases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the strengths of the client-server model?

A

Centralized managment simplifies security, data backup, and updates. Clients benefit from reliable and consistent access to resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are weaknesses of the client-server model?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a P2P model?

A

In a P2P model, resources are distributed among a network of peers, where each peer acts both as a server and a client

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are examples of the P2P model?

A

File-sharing networks like BitTorrent, cryptocurrencies and blockchains

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the strengths of the P2P model?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are weaknesses of P2P?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly