What is Web Architecture?

Web architecture involves multiple components like database, message queue, cache, user interface & all running in conjunction with each other to form an online service.

This is a typical architecture of a web application, used in many web applications

web architecture.JPG

Let us look at all the components in the above architecture diagram

Client: it usually refers to the user interface of an application. A client can be a browser, phone or a tablet.

Server: Think of a machine(computer) that serves responses to a request. A backend server is usually a machine that serves responses to a request after processing through a business logic

Eg: If you enter "google.com/celebrity" in your browser, the client(your browser) is sending a request to the Google's server. Google's server has to respond to this request. it processes the request through some logic and serves you the search results of that particular celebrity. We will look at this in depth in the article that talks about client-server architecture.

Database: Think of a machine(computer) that is dedicated to storing data