Building Scalable And Reliable Saas Solutions With Stateless Architecture Towards Implementing Doorstep Groceries Application

Document Type : Primary Research paper

Authors

1 Assistant Professor, Department of Computer Applications ,PSG College of Technology Coimbatore, India

2 PG Student, Department of Computer Applications ,PSG College of Technology Coimbatore, India

Abstract

The Doorstep Groceries application uses stateless architecture by using a
Representational State Transfer (REST) API to produce stateful behavior by augmenting
HTTP to make stateless applications. In any stateful applications state is to be maintained
to minimize the connection to the DB or server. The data handled in any stateless service
is typically transitory and a separate back-end service is needed to store the state
information. Every organisation adopts containers and tends to begin with stateless
containers as it is easier to adapt to this new type of architecture. Any available compute
resources such as EC2 instances can service any request because stateless applications can
scale horizontally.
Highly reliable applications must set their Recovery Time Objectives (RTO) and Recovery
Point Objectives (RPO) to suit the needs of their business. The Doorstep Groceries need to
be available all the time to support customers at any time of the day. Stores should also not
lose their customers' orders and customers should not lose their groceries. This requires
The Doorstep Groceries to have a very low RTOs and RPOs.
The Doorstep Groceries will run on AWS EC2 cloud. Implementation of several
application recovery automation and performance test automations ensure that The
Doorstep Groceries will run as expected even under higher than average load and the
application failures can be detected and recovered immediately.

Keywords