Network Design
Network Design
THURSDAY, AUGUST
16
NETWORK
DESIGN
SIGN IN
INTRODUCTION
ADVATAGES AND
DISADVANTAGES
OF BOTH
NETWORKS
PEER-TO-PEER
NETWORK
CLIENT-SERVER
NETWORKS
ARCHITECTURE
OF P2P
NETWORKS
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
INTRODUCTION
INTRODUCTION
ADVATAGES AND
PEER-TO-PEER
networking, two foundational architectures
play pivotal roles in enabling communication
NETWORK
PEER-TO-PEER
NETWORK
network architecture in which each participant,
known as a peer, acts as both a client and a
server. In this model, peers have equal status
CLIENT-SERVER
NETWORK
and can directly share resources, such as files,
processing power, or bandwidth, with other
ARCHITECTURE peers without relying on a central server or
OF P2P
NETWORKS
intermediary.
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
KEY CHARACTERISTICS
1.Decentralization:
INTRODUCTION
ADVATAGES AND
DISADVANTAGES
OF BOTH
• There is no central server or authority controlling the
NETWORKS
INTRODUCTION
4.Resource Sharing:
ADVATAGES AND
DISADVANTAGES
OF BOTH • Peers contribute their own resources (e.g., storage
NETWORKS
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
DEFINITION OF CLIENT-SERVER
NETWORK
INTRODUCTION
ADVATAGES AND
DISADVANTAGES
PEER-TO-PEER
NETWORK
network architecture in which devices are
categorized into two distinct roles: clients and
servers. In this model, servers provide
CLIENT-SERVER
NETWORK
resources, services, or data, while clients
request and utilize these resources. The server
ARCHITECTURE is a central entity that manages and controls
OF P2P
NETWORKS
access to resources, whereas clients interact
with the server to obtain the information or
data they need.
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
KEY CHARACTERISTICS
INTRODUCTION
7. Network Communication: Communication between
ADVATAGES AND
DISADVANTAGES
OF BOTH clients and servers typically occurs over a network,
NETWORKS
CLIENT-SERVER
8. Security: Centralized servers can enforce security
NETWORKS
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
ARCHITECTURE OF P2P
INTRODUCTION
NETWORK
ADVATAGES AND
DISADVANTAGES
OF BOTH
NETWORKS
1. Nodes
PEER-TO-PEER
• Peers: Each node in a
NETWORK
3. Overlay Network
DISADVANTAGES
OF BOTH
NETWORKS
1. Clients
DISADVANTAGES
OF BOTH
NETWORKS
to clients.
• Functionality: Servers listen for incoming requests
ARCHITECTURE
from clients, process these requests, and then
OF P2P
NETWORKS
respond with the requested data or service.
Examples include web servers, file servers, and
ARCHITECTURE OF
CLIENT-SERVER
database servers.
NETWORKS
8:30 PM
EN 8/15/2024
ARCHITECTURE OF CLIENT SERVER
INTRODUCTION
NETWORK
ADVATAGES AND
DISADVANTAGES
OF BOTH 3. Network Communication
NETWORKS
• Request-Response Model: Clients send requests to servers, and
PEER-TO-PEER servers process these requests and send back responses. This
NETWORK
model is fundamental to client-server interactions.
• Protocols: Communication between clients and servers is
governed by protocols such as HTTP (for web services), FTP (for
CLIENT-SERVER
NETWORK file transfer), or SQL (for database queries).
4. Server Types
• Web Server: Hosts web applications and serves web pages to
clients.
ARCHITECTURE
OF P2P
NETWORKS
• File Server: Manages and provides access to files over the
network.
• Database Server: Stores and manages databases, handling
ARCHITECTURE OF queries and updates from clients.
CLIENT-SERVER
NETWORKS
• Mail Server: Manages and handles email communications
8:30 PM
EN 8/15/2024
ARCHITECTURE OF CLIENT SERVER
INTRODUCTION
NETWORK
ADVATAGES AND
DISADVANTAGES
OF BOTH 5. Network Topology
NETWORKS
• Centralized: In a traditional client-server model, the server acts as a
PEER-TO-PEER
central hub that clients connect to. This centralized approach
NETWORK
simplifies management and security but can become a bottleneck if
the server is overwhelmed by too many client requests.
• Load Balancing: To address potential bottlenecks, load balancers can
CLIENT-SERVER distribute incoming client requests across multiple servers, ensuring
NETWORK
better performance and reliability.
6. Scalability
• Vertical Scaling: Upgrading the server's hardware (e.g., adding more
ARCHITECTURE CPU or RAM) to handle more clients or requests.
OF P2P
NETWORKS • Horizontal Scaling: Adding more servers to the network to handle
increased load and ensure redundancy. Load balancing is often used
to distribute requests evenly among multiple servers.
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
ARCHITECTURE OF CLIENT SERVER
INTRODUCTION
NETWORK
ADVATAGES AND
DISADVANTAGES
OF BOTH 7. Security
NETWORKS
• Authentication and Authorization: Ensuring that clients are who they
PEER-TO-PEER
say they are and that they have permission to access certain
resources or services.
NETWORK
CLIENT-SERVER
NETWORK
• Lack of Central Control: Without a central authority, managing and
enforcing policies can be difficult. This can lead to issues with
consistency, reliability, and governance, especially in larger networks.
ARCHITECTURE
OF P2P
• Scalability Issues: As the number of peers increases, managing and
NETWORKS
coordinating network traffic can become complex. Each peer might
need to handle more connections, which can lead to network
congestion and performance degradation.
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
DISADVANTAGES OF P2P NETWORK
INTRODUCTION
ADVATAGES AND
DISADVANTAGES
OF BOTH
• Data Redundancy and Reliability: Since data is distributed across many
NETWORKS
peers, it can be challenging to ensure that it is consistently available
PEER-TO-PEER
and up-to-date. If a peer goes offline, the data it was hosting might
NETWORK
become temporarily inaccessible.
ARCHITECTURE • Legal and Ethical Issues: P2P networks are often associated with file
OF P2P
NETWORKS sharing, which can lead to legal issues regarding copyright
infringement. Additionally, the decentralized nature can make it harder
to track and address unethical behavior.
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
DISADVANTAGES OF P2P NETWORK
INTRODUCTION
ADVATAGES AND
DISADVANTAGES
OF BOTH • Performance Variability: The performance of a P2P network can
NETWORKS
be inconsistent due to the varying capabilities of individual
PEER-TO-PEER peers. Some peers may have higher bandwidth or processing
NETWORK
power, while others might have limited resources, leading to
uneven performance.
CLIENT-SERVER
NETWORK
• Difficulty in Troubleshooting: Identifying and resolving issues can
be more complex in a P2P network because there is no central
point of control. Problems may arise from any of the peers, and
ARCHITECTURE
diagnosing these issues often requires examining multiple
OF P2P
NETWORKS nodes.
and services.
• Reliability: Dedicated servers can be configured for high
CLIENT-SERVER
availability, with failover mechanisms and redundancy to ensure
NETWORK
continuous operation and minimize downtime.
• Load Balancing: Server farms and load balancers can distribute
incoming client requests across multiple servers, improving
ARCHITECTURE performance and ensuring that no single server becomes a
OF P2P
NETWORKS bottleneck.
• Data Management: Servers can store and manage large
amounts of data centrally, making it easier to organize, protect,
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
and access critical information.
8:30 PM
EN 8/15/2024
DISADVANTAGES OF CLIENT-SERVER
INTRODUCTION
NETWORK
ADVATAGES AND
DISADVANTAGES
OF BOTH • Single Point of Failure: The server represents a single point of
NETWORKS
failure in the network. If the server goes down or experiences
PEER-TO-PEER issues, all client machines that rely on it for services or resources
NETWORK
can be affected.
ARCHITECTURE • Security Risks: Centralizing data and services on a single server can
OF P2P
NETWORKS
make it an attractive target for attackers. If the server is
compromised, it can potentially lead to the exposure of sensitive
information or disruption of services for all clients.
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
DISADVANTAGES OF CLIENT-SERVER
INTRODUCTION
NETWORK
ADVATAGES AND
DISADVANTAGES
OF BOTH
• Dependency on Server: Clients depend on the server for access to
NETWORKS
resources and services. Any issues with the server can impact the
PEER-TO-PEER
ability of clients to perform their tasks, leading to potential
NETWORK
disruptions in productivity.
ARCHITECTURE
OF P2P
• Bandwidth Limitations: The server has to handle all data transfers
NETWORKS
between clients. High levels of data traffic can strain network
bandwidth and impact performance, particularly if the server is not
well-equipped to manage large amounts of data.
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
DISADVANTAGES OF CLIENT-SERVER
INTRODUCTION
NETWORK
ADVATAGES AND
DISADVANTAGES
OF BOTH • Complexity in Load Distribution: Effectively distributing load
NETWORKS
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
INTRODUCTION
ADVATAGES AND
DISADVANTAGES
OF BOTH
NETWORKS
PEER-TO-PEER
NETWORK
CLIENT-SERVER
NETWORKS
ARCHITECTURE
OF P2P
NETWORKS
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
INTRODUCTION
ADVATAGES AND
DISADVANTAGES
OF BOTH
NETWORKS
PEER-TO-PEER
NETWORK
CLIENT-SERVER
NETWORKS
ARCHITECTURE
OF P2P
NETWORKS
ARCHITECTURE OF
CLIENT-SERVER
NETWORKS
8:30 PM
EN 8/15/2024
Shutting
Down