1 Monolithic Architecture
All components of the software are combined into one large application.
Advantages
Disadvantages
Example
Early versions of platforms like Facebook.
2 Layered Architecture (N-Tier Architecture)
The system is divided into multiple layers, such as:
-
UI Layer – User interface
-
Business Logic Layer – Application rules
-
Data Layer – Database management
Example
Most enterprise web applications.
3 Client–Server Architecture
Two main components:
Example: A web browser like Google Chrome requesting data from a web server like Apache HTTP Server.
4 Microservices Architecture
Large applications are broken into many small independent services, each performing a specific task.
Examples include platforms like Netflix, Amazon, and Uber.
Advantages
Disadvantages
5 Event-Driven Architecture
Different components communicate through events or messages.
Example:
When a user clicks “Add to Cart” on an e-commerce site, an event is triggered and the cart updates automatically.
6 Service-Oriented Architecture (SOA)
Applications are built using multiple services that communicate over a network.
Example:
Large banking systems often use SOA to integrate different services like payments, accounts, and authentication.