Important differences in client server and peer-to-peer networking

1. Important differences in client server and peer-to-peer networking

Networking Client to server network Peer-to-Peer network
Definition A client-server network is the medium through which clients access resources and services from a central computer, via either a local area network (LAN) or a wide-area network (WAN), such as the Internet. A peer-to-peer (P2P) network is group of computers, each of which acts as a node for sharing files within the group. Instead of having a central server to act as a shared drive, each computer acts as the server for the files stored upon it.
Path and node A dedicated path consist of mainly two nodes at each end i.e. , sender and receiver is implemented which is entirely responsible for the transmission of information. No such dedicated path is implemented as the path used in this switching is consist of several nodes between the sender and receiver and each node is responsible for transferring the message from one node to the next.
Message storage
As there are only two nodes in case of Client - Server Network hence centralized server is used to store the data in the path or at the node end. Message generated at the sender side get transmitted to the receiver directly through the centralized sever where information stored or retransmitted in the path through the node. On other hand in case of Peer - to Peer each node acts as sender and receiver and stores the incoming information before sending to the next node. This makes each node in this switching capable to recover the information if it gets lost due to any reason.
Resend In case of Client - Server network as node did not save the information during the transmission , there is no option to resend it if gets lost due to some reason until the sender or centralized server send it again. On lost the resend information On other hand if information get lost in Peer - to - Peer network then the corresponding node could resend the information as it has information stored.
Bandwidth Client - Server Network reserves the full bandwidth in advance as there are only two nodes and dedicated path for transmission. Peer - to - Peer does not reserve the entire bandwidth in advance it consumes bandwidth node per node as per the requirement and releases the bandwidth when gets free.
Addresing Geographical addressing is used in Client - Server Network based on the geo - location of both the nodes. On other hand Hierarchical addressing is implemented in case of Peer - to - Peer as there is hierarchical connection between the nodes used in this type of switching.

2. Examples of Peer-to-peer network

1. Sharing large files over the internet is often done using a P2P (peer-to-peer) network architecture. For example, some online gaming platforms use P2P for downloading games between users.

2. crossover cable to share files with the other computer who you are directly connected to.

3.Torrent is a big example of a P2P network. In torrent, all the computers are connected to each other on the internet. One computer can upload any file in the network and other computers start downloading the files. Also, every computer can upload parts of the file if that computer has already downloaded some chunks of the file.

4.A computer attached to the LAN: In home or in a small office, computers can make peer to peer network with each other and share data and resources with each other.

Comments