Client-Server Architecture
Before going to our topic you have to know to differentiate what is 'Client' and what is 'Server'?
Client vs Server:-
'Client' is a program which is requesting other programs for getting a service or informations by sending request to that destination program.The term 'Client' is always applicable for computers or any other devices which runs client program.
'Server' is program which is capable to fulfill for the Requests which is made by clients. The term "Server' is always applicable for computers or any other devices which runs server program.
Clients and servers may both computer programs run on the same machine.one of the best example is computers which running with both client and server software.
If you want example for client just take your mobiles,tablets,printers...etc.
If your configure maills in your computer,mobiles,...etc this mail programs called client.It retives the mails from server.
'Server' is program which is capable to fulfill for the Requests which is made by clients. The term "Server' is always applicable for computers or any other devices which runs server program.
Clients and servers may both computer programs run on the same machine.one of the best example is computers which running with both client and server software.
If you want example for client just take your mobiles,tablets,printers...etc.
If your configure maills in your computer,mobiles,...etc this mail programs called client.It retives the mails from server.
Client-Server Architecture:-
The term 'Client-Server' Architecture is a client requesting a server for service by sending request. The Server will process the result for that request then it will send back the response to that client.So there is two way appoach between client and server is called Requesting and Responding.This type of relationship is called as client/server architecture.
In this network the client will first initiate the service communication session with server over a network and will wait for response from server.Once the server has fulfilled the request query to the client then the connection between client and server will be terminated automatically.This model both client and server can be used in single computer also.
In a single computer can multiple servers such as web servers,file server,DHCP,DNS...etc Whether a computer is a client, a server, or both is determined by the nature of the application that requires the service functions. Client software can also communicate with server software within the same computer.Single server can support numerous client simultaneously.Number of servers can be interconnected together in a pool to increase the performance,load balance and increase number of clients. Communication between servers is called as server to server communications or inter-server communication.
In a school a class room is the best example for this network model. just assume a class room.in that class room students are gathering information from teachers,so clients means students, server means teachers,i hope it is funny example.
Internet is the best example for client-server architecture network.for
example if want to open a Google.com in your computer or mobile or
tablet what ever it is,what you will do? you will open web browser and
then you will type Google.com in your web browser address bar.after that
do you know what will your computer,mobile will do?
Your computer browsers is a client program it will send the query for Google webpage to Google server.Then Google server will respond and send back Google webpage to that client.
Your computer browsers is a client program it will send the query for Google webpage to Google server.Then Google server will respond and send back Google webpage to that client.
Related Posts:
3.)Peer to Peer(P2P) Or Point to Point Architecture?
4.)Server Based Architecture? 5.)What is Network Architecture?
4.)Server Based Architecture? 5.)What is Network Architecture?
1 comments:
How attach 4 computers in which one is use as server other 3 as client
Confused? Feel free to ask