Peer-2-Peer Model
This model allows nodes to request and provide services, thereby enhancing network flexibility and reducing reliance on central points of failure. It’s a network model where multiple computers or devices communicate directly without the need for a centralized server.
2 Types of Peer-2-Peer Model : structured and unstructured P2P networks.
Structured | Unstructured | |
---|---|---|
Node organization | nodes are organized into a specific structure (ring, tree) | nodes are connected randomly |
Routing & serching | efficient routing and searching of data within network | routing and searching can be more difficult |
Complexity | more complex because of structure of node | simpler to implement |
Pros | less flexible | flexible to set up and implement |
Cons | more difficult to manage and implement | routing & seraching more difficult because of lack of structure |
Pros & Cons
Pros | Cons |
---|---|
No single point of failure | vulnerable to DDoS attacks |
Nodes can join or leave network dynamically | Can produce a lower quality of service compared to client-server networks |
Can easily accommodate a large number of nodes without additional infra | Requires additional network overhead to maintain connectivity and ensure data consistency |
Nodes can share resources (bandwidth, storage, processing power, …) | Can be more complex to implement and manage compared to client-server networks |