Load test your Serverless Apps
Hari Ohm Prasath Rajagopal
Senior Architect | Amazon | Building scalable Cloud-Native & distributed systems | Technical leader | Blog Author & Mentor
What is Load testing?
The goal of load testing is to ensure that the architecture and system design works for the amount of traffic expected. It can help developers find bottlenecks and unexpected behavior before we deploy the application to production
Need for load testing
I always compare serverless applications to a glass tumbler. Yeah, it looks good and fulfills its purpose, but there is always a chance, in one or other way someone will break it and the most common way to break the serverless application would be to overloading the system with too many requests in a short period time.
So moving on from glass analogy, here are some of the reasons why execution of load testing is critical:
- Load testing is done to provide stakeholders with information about their application regarding speed, stability, and scalability of application under expected & unexpected load
- Load testing will determine whether their software meets speed, scalability and stability requirements under expected workloads
- Load testing helps to identify the breaking point of the software application
- Reducing the chance & cost of failure with a higher ROI by optimizing the user experience through the reliable and accurate web load testing results
Lets see how we can run load tests on serverless application using "Artillery Core" (a free & open-source tool used for running performance tests). Read more about it here in medium.com