DEV Community

Mongezi Sibande
Mongezi Sibande

Posted on

What_happens_when_your_type_google_com_in_your_browser_and_press_enter

Image description

This diagram illustrates the key steps involved in the request flow:

  1. DNS Resolution
    : The browser performs a DNS lookup to resolve the hostname www.google.com to an IP address.
    Firewall: The encrypted HTTPS request from the browser passes through the firewall.

  2. Load Balancer: The load balancer receives the encrypted request and distributes it to an available web server.

  3. Web Server: The web server forwards the request to the application server.

  4. Application Server: The application server fetches data from the database as needed to generate the web page.

  5. Database: The application server queries the database to retrieve the necessary data.

  6. Web Page Generation: The application server generates the web page and returns it to the web server.

  7. Response Flow: The web page is then passed back through the load balancer, firewall, and finally to the browser.

This schema provides a high-level overview of the request flow, including the key components involved (DNS server, firewall, load balancer, web server, application server, and database) and the encryption of the traffic between the browser and the web server.

Top comments (0)