In this decade the technology disruption is happening so frequently. If you look at the e-Commerce platforms built on Java/.Net/PHP etc… using the traditional application servers backed up by RDBMS. When the traffic is getting increased we might have come across the scalability, site responsiveness etc … issues. To overcome this we played techniques like increasing the servers, hardware, load balancing etc… In this article we will discuss the technical architecture of an e-commerce system by using industry proven technologies like MongoDB, Node.js and Elasticsearch. Which will enable us to scale horizontally, less system resources utilization, non blocking I/O enables us to handle more traffic, .
The technical architecture of the system is given below.
Micro Services: Chosen micro services architecture by considering the below points.
- Easy to scale out horizontally based on the demand.
- System resilience. We can achieve high availability.
- There is a scope to extend/replace the functionality with out major impact on the entire system.
Based on the micro services architecture paradigm, the above system is divided into the following services.
- Product Catalog Search Service
- User Registration service
- User Login Service
- Shopping Cart Service
- Product Detail Page Service
- Checkout Service
The data flow of the above system is given below.
In the coming article we will discuss about the technology stack to build the above system. Till then enjoy reading!!!