Problem Statement
The online store has the following capabilities
The technology infrastructure representing the online retail store is hosted in the Amazon AWS cloud. The system has a legacy monolithic design and is hosted on a single server instance.
Enables consumers to understand the latest price for precious metals in real time
Enables consumers to purchase precious metals in physical form
Supports 10+ different languages to target customers from all over the world
Currently supports 500k to 1m consumers
The system currently handles the following load
Data files
Generates 16000+ text file every minute corresponding to precious metal price data point it receives every minute from external vendors
Price Charts
Generates 10000+ pricing chart images per minute for intraday changes and over 69000+ historical chart images overall across all precious metals
Pre-generating pricing charts are used to
01. Are consumed by the other direct clients.
02. Allow the system to efficiently handle thousands of concurrent requests.
03. Allow consumers to view the latest precious metal prices instantly, without experiencing delays associated with real-time rendering, which can be resource-intensive and slow.
Numino Labs assessment of the current system revealed the following challenges
Scalability Issues
The computing instance struggled to handle the load of generating the enormous volume of image & text files and could no longer be vertically scaled at manageable cost.
Reliability Problems
Frequent service failures due to the monolithic structure, with no efficient failover mechanisms.
Complex Maintenance
High maintenance overhead with a single point of failure, leading to frequent customer complaints and manual interventions to resolve the issue.
The idea was to move this backend to an alternate serverless architecture that allowed the system to operate at such scale & volume of requests at significantly lower cost.