In: Computer Science
In web programming what is the Client-Server model?
What is Client- Server Model:
-> A computer networking model where one or more powerful computer(server) provides the different computer network services and all other user's computer network (client) access those services to perform a task is known as client/server computer networking model.
->In such networks, there exist a central controller called server. A server is a specialized computer that controls the network resources and provides services to other computers in the network.
->All other computers in the network are called clients. A client computer receives the requested services from a server.
->A server performs all the major operations like security and network management.
-> All the clients' communication with each other via centralized server.
->If client 1 wants to send data to client 2, it first sends a request to the server to seek permission for it. The server then sends a signal to the client1 allowing it to initiate the communication.
->A server is also responsible for managing all the networks resources such as files, directions, application and shared devices like printer etc.
-> If any of the clients wants to access these services, it first seeks permission from the server by sending a request.
Advantage:
->Centralized back up is possible.
-> Use of dedicated server improves the performance of whole system.
-> Security is better in these networks as all the shared resources are centrally administered.
->Disadavantages:
It requires specialized server with large memory and secondary storage. This leads to an increase in cost.
-> The cost of the network operating system that manages the various clients is also high
3. It requires a dedicated network administrator.