0% found this document useful (0 votes)
7 views2 pages

Operating Systems

Muhammad Sulaiman lecture note

Uploaded by

muhanmadydk123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Operating Systems

Muhammad Sulaiman lecture note

Uploaded by

muhanmadydk123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Client-Server Architecture:

In a client-server architecture, there are two distinct roles:

1. *Server*: A centralized system that provides resources, services, or data to multiple clients.

2. *Client*: A system that requests and receives resources, services, or data from the server.

Characteristics:

- Centralized control and management

- Server handles requests and provides responses

- Clients rely on the server for data and functionality

- Scalability is achieved by adding more servers

Peer-to-Peer (P2P) Architecture:

In a P2P architecture, all systems act as both clients and servers, sharing resources and services directly
with each other.

Characteristics:

- Decentralized control and management

- Each node can act as both client and server

- Nodes share resources and services directly with each other

- Scalability is achieved by adding more nodes


Key differences:

- *Centralization*: Client-server is centralized, while P2P is decentralized.

- *Resource sharing*: In client-server, resources are provided by the server, while in P2P, resources are
shared directly between nodes.

- *Scalability*: Client-server scales by adding more servers, while P2P scales by adding more nodes.

Examples:

- Client-server: Web applications, email services, and cloud storage

- P2P: File sharing networks (e.g., BitTorrent), blockchain networks, and decentralized applications
(dApps)

You might also like