Skip to content
SEE Exam Prep

Question 10 of 11 · PYQ 2025 · 6 marks

Open in ChatGPT

Write about: i) Naming ii) Traditional web-based system iii) Proxy server.


i) Naming

  • A name identifies an entity, so clients refer to it without knowing where it is.
  • Names are flat (a UUID, a file handle), structured (a path) or attribute-based (a query over properties).
  • Resolution maps the name to an address: DNS to an IP, a naming service to an object reference.
  • The name stays stable while the address changes, which is what gives location transparency.

ii) Traditional web-based system

A three-tier system:

  1. Client: a browser that speaks HTTP and renders HTML.
  2. Web server: resolves the URL to a file or a program, and returns the response.
  3. Database / application server: holds the state behind the pages.

Its properties: stateless requests (each request carries what it needs, or a cookie carries the session), cacheable responses (GET can be cached by browser, proxy and CDN), naming through URLs (the URL is the name of the resource), and scalability through replication of the web tier behind a load balancer. The limits are the database being a bottleneck and the client-server coupling of a page to a specific server session.

iii) Proxy server

A proxy sits between client and server and forwards requests on the client's behalf.

  • Forward proxy: the client is configured to use it; it can cache, filter and authenticate.
  • Reverse proxy: it fronts servers, terminating TLS, load-balancing, caching and hiding the backend topology.
  • Web proxy cache: stores responses to repeated requests, deciding freshness with Cache-Control and revalidating with If-None-Match.

Its value is indirection: the client talks to the proxy, and the proxy decides which server answers. That is what makes caching, filtering and load balancing possible without changing the client.

The URL is the name, the web system is the consumer, and the proxy is the resolver's cache: it holds the mapping from name to current content, so the client's request does not have to reach the origin every time.