- Information
- AI Chat
Client server architecture
Computer Science (9618)
Preview text
Computer Science 9618
Unit-
Agenda
Server Machine Client Machine Client-server Architecture Peer to Peer Thin Clients Thick Clients
What is Server?
A server is a computer or system that provides resources, data, services, or programs to other computers, known as clients, over a network. In theory, whenever computers share resources with client machines they are considered servers. There are many types of servers, including Web servers, M@il servers, Virtual servers. Domain servers FTP servers DNS Servers DHCP Servers Print Servers
What are Servers used for?
A client process may run on the same device. It can also connect over a network to a server to run on a different device. Examples of servers may include database servers, mail servers, print servers, file servers, web servers, application servers, and game servers. Most frequently client- server systems are implemented by the Request-ResponseModel, i, a client sends a request to the server. In this model, the server performs some action and sends a response back to the client, typically with a result or acknowledgement.
Client requestdata from server
The requestis routed to appropriate server
Serverprocesses the request fromUser
Serverqueries appropriatedatabase for some data
Databasereturns the queried databack to server.
P2P Networks
A peer-to-peer (P2P) network is a type of network in which each participant (or "peer") can act as both a client and a server, allowing them to share resources and information directly with one another without the need for a central server. P2P networks are decentralized, meaning that there is no central authority or organization that controls the network or its resources.
In a P2P network, each peer has equal status and can connect to any other peer on the network. Peers can share a variety of resources, including files, data, and computing power, with one another. P2P networks are often used for file sharing, as they allow users to download files directly from other users rather than from a central server.
File sharing Online Gaming Social Networking Distributed networks Voice and Video Calls Data Backup and Storage
Here's how a P2P network works − Peers connect to the networkthem to connect to the network and share resources with other peers. − To join a P2P network, each peer must install so?ware that allows
Peers share resourcesfiles or computing power, with other peers. − Once connected to the network, each peer can share their resources, such as
Peers search for and locate resourcesnetwork for it using the P2P software. Once the resource is found, the peer can download it directly − If a peer is looking for a specific resource, they can search the from the peer that is sharing it. Resources are shared directly between peersbetween peers rather than being passed through a central server. This makes P2P networks more − In a P2P network, resources are shared directly efficient and reduces the risk of bottlenecks or delays. Overall, P2P networks are decentralized, and efficient, and allow for the direct sharing of resourcesbetween peers. However, they can also be more challenging to manage and maintain, as there is no central authority to enforce rules or regulations.
What are Thin clients
are computer systems that rely on a central server-based environment to connect through a network and facilitate remote access. They work by allowing clients to connect to remote servers where data and applications are managed and stored. These servers usually perform different tasks, ranging from calculations to computations, and include hardware without necessarily requiring hard drives, memory, or fan
Reference
geeksforgeeks/what-is-server/ cs.uwaterloo/~m2nagapp/courses/CS446/1195/Arch_Design_Activity/ClientServer f
Client server architecture
Course: Computer Science (9618)
University: Pakistan Institute of Development Economics
- Discover more from: