04-07-2020
Peer to Peer and Client
Server Architecture
Peer to Peer Architecture
• Peer to peer architecture(P2P) is a commonly used computer
networking architecture in which each workstation or node has the
same capabilities and responsibilities.
• Node act as both client and server.
• It is decentralized network.
• P2P works best if the workload is split into small chunks that can be
reassembled later.
04-07-2020
Peer to Peer Architecture
Some uses of P2P Architecture
• File sharing
• Instant messaging
• Voice Communication
• Collaboration
• High Performance Computing
04-07-2020
Advantages & Disadvantages
• There is no central server to maintain and to pay for
• there is no single point of failure
• If one peer is infected with a virus and uploads a chuck of the file that
contains the virus, it can quickly spread to other peers
• it can be difficult to ensure they have the proper permissions to
access the network if a peer is sharing a confidential file
Client Server Architecture
• Two application programs are used in this architecture one is client
and second is server.
• Server provides the services for the clients
• Server
A server is a program that runs on the remote machine providing
services to the clients
• Client
A client is a program that runs on the local machine requesting
service from the server
04-07-2020
Client Server Architecture
Advantages of Client-server networks
• Centralized
• Security
• Performance
• Scalability
04-07-2020
Disadvantages of Client-Server network
• Traffic Congestion
• It does not have a robustness of a network
• Sometimes the resources exist in the server but may not exist in the
client