Repaso
Español
System DesignFoundationsSD-46

In a typical web system, which path does a user request usually follow?

Options

  1. Browser, DNS, load balancer, app server, database (Correct option)
  2. Database, then browser, then server, and back again
  3. Server, then CDN, then printer, then the browser
  4. Browser directly to the database, and nothing else

Answer

Browser → (DNS, load balancer) → application server → database → response back to the browser

Why

  1. The browser asks DNS for the IP address of the site.
  2. The request reaches a load balancer, which picks one application server.
  3. The application server runs the business logic and queries the database (or a cache).
  4. The response travels back the same way.

The browser never talks to the database directly, because that would be insecure.

Remember

Browser → load balancer → app server → database.

Key terms

Practice this question in Repaso