1 of 13

INTRODUCTION CLOUD COMPUTING

PRESENTED BY :- MINAKSHI SHARMA

GOVT. COLLEGE BARWALA,HISAR

2 of 13

CLIENT-SERVER COMPUTING

It is a network architecture where tasks and workloads are distributed between service providers (servers) and service requesters (clients). client-server computing is a model designed to provide a clear separation between the provider of resources (server) and the consumer of those resources (client), enabling efficient and manageable network operations.

In this model: 

1. Client: The client is a device or application that requests services, resources, or data from a server. Clients can be anything from a web browser requesting a webpage to a software application requesting data from a database.

 

2. Server : The server is a device or application that provides services, resources, or data to clients. Servers typically manage and process requests, store data, and perform other tasks to fulfill client needs.

3 of 13

CLIENT-SERVER COMPUTING CHARACTERISTICS

Centralized Resources: Servers centralize resources, such as databases or files, and manage their access and distribution.

Request-Response Model: Clients send requests to servers, and servers process these requests and return the appropriate responses.

 

Scalability: Servers can be scaled up (upgrading hardware) or scaled out (adding more servers) to handle increasing numbers of client requests.

 

Maintenance: Centralized management allows for easier maintenance, updates, and security controls.

 

Security: Servers can be secured more easily compared to a decentralized model, as all access and data flow can be monitored and controlled from a central point.

4 of 13

CLIENT-SERVER COMPUTING EXAMPLE USE CASES:�

 

Web Services: Web browsers (clients) request web pages from web servers.

Email: Email clients send and receive messages through email servers.

Database Applications: Applications (clients) interact with database servers to retrieve or store data.

5 of 13

PEER-TO-PEER (P2P) COMPUTING

  • It is a decentralized model of networking where each participant (or "peer") in the network has equal privileges and can act as both a client and a server. Unlike traditional client-server models where clients request services from central servers, P2P systems distribute tasks and resources among all participants.
  • P2P computing leverages the collective power of all participants to create robust and scalable systems, though it also introduces certain complexities and challenges.

6 of 13

CHARACTERISTICS OF P2P

 

1. Decentralization: There is no central server or authority managing the network. Instead, each peer is responsible for its own resources and communication.

 

2. Resource Sharing: Peers can share resources such as processing power, storage, or bandwidth with other peers. This can enhance the efficiency and scalability of the network.

 

3. Fault Tolerance: Since there is no central point of failure, P2P networks can be more resilient to outages or attacks. If one peer goes offline, others can continue to function normally.

 

4. Scalability: P2P networks can often scale more easily than centralized networks because each new peer can add additional resources and capacity.

7 of 13

CHALLENGES

P2P systems face challenges such as security (e.g., malicious peers), managing resources effectively, and maintaining a consistent and reliable network.

8 of 13

APPLICATIONS OF P2P AND CLIENT SERVER COMPUTING

  • P2P including file sharing (e.g., BitTorrent), cryptocurrency (e.g., Bitcoin), and communication platforms (e.g., Skype).
  • Client-server computing model is widely used in:-
    1. web services where browsers request web pages from servers; email systems where clients send and receive messages through email servers;
    2. cloud storage services where users upload and manage files on cloud servers;
    3. database management systems where applications query and update data stored in central databases;
    4. ERP systems managing business processes through centralized servers; multiplayer online games with game servers handling interactions;
    5. instant messaging apps using central servers for communication;
    6. online banking where clients access financial services through secure banking servers;

9 of 13

DIFFERENCE BETWEEN CLIENT SERVER & P2P COMPUTING

Aspect

Client Server

P2P

Structure

Centralized; servers provide resources and services to clients.

Decentralized; all peers have equal roles, both providing and consuming resources

Resource Management

Centralized on servers; easier to manage and control.

Distributed among peers; more complex management but offers redundancy.

Security

Centralized security controls; easier to monitor and protect.

Distributed security; each peer manages its own security, potentially harder to control.

Performance

Can be impacted by server load; performance depends on server capacity

Performance can vary based on the number and quality of peers; can benefit from resource sharing.

Scalability

Limited by server capacity; scaling involves upgrading or adding servers.

Scales naturally as new peers join and contribute resources.

​

​

​

10 of 13

11 of 13

REAL-WORLD EXAMPLES FOR CLIENT-SERVER�COMPUTING

​

Web Browsing - When you access a website, your web browser (the client) sends a request to a web server (the server) to retrieve the website's content. The server processes this request, sends back the necessary files (like HTML, CSS, and JavaScript), and your browser displays the webpage. This setup exemplifies the client-server model where the server centralizes data and content delivery, and clients consume this data.

12 of 13

REAL-WORLD EXAMPLES FOR PEER-TO-PEER COMPUTING:�

​

File Sharing Networks - BitTorrent is a popular example of a P2P network. In BitTorrent, files are divided into chunks and distributed among many users (peers). Each peer can both download and upload these chunks, enabling efficient file distribution. Instead of relying on a central server to host the files, every participant in the network helps share and propagate the data, which enhances scalability and redundancy.

13 of 13

Reference:

Images collected from Google.com