Client Server Model

Fundamental model for modern computing

Client - machine that requests data from server

Server - machine that listens for clients, and responds

Client Server Model Diagram 1

Untitled

Note client doesn't yet know what it represents. Simply requests information, and based on response will be able to do stuff.

At first, browser doesn't know how to talk to server. Performs a DNS query to find the IP address of AlgoExpert, and only then can it speak to the server.

Client Server Model Diagram 2

Untitled

After client has IP address, is ready to send a HTTP Request to server,