SlideShare a Scribd company logo
SCALE FROM 10 REQUESTS PER SECOND TO
100,000 REQUESTS PER SECOND IN A
CLOUD NATIVE ENVIRONMENT:
@saktib_
Evaluate current system performance:
 Before scaling an application, it is important to
have a clear understanding of the current system
performance.This can be achieved by measuring
and analyzing system metrics such as response
time, throughput, and resource utilization.
Optimize existing code and database
queries:
 Optimize your code to reduce latency, improve
response times, and lower resource
consumption.This can include techniques such
as caching, lazy loading, optimizing algorithms,
and using asynchronous programming.
Improving the performance of existing database
queries can significantly enhance the system's
ability to handle more requests.This could
involve caching frequently accessed data, and
minimizing the number of database queries.
Use asynchronous processing:
 Implementing asynchronous processing can
allow the system to handle more requests
concurrently by leveraging the power of multiple
CPU cores.This could involve using message
queues or event-driven architectures.
Design for scalability:
 When designing your application, make sure that
it is built to scale.This means using a distributed
architecture that can handle multiple instances
of the application running in parallel, as well as a
data storage layer that can scale horizontally.
Use containerization:
 Containerization allows you to package your
application into small, lightweight containers
that can be easily deployed and scaled.This also
allows for faster deployments and rollbacks if
necessary.
Use an orchestration tool:
 An orchestration tool like Kubernetes can help
manage the deployment, scaling, and
monitoring of your application. Kubernetes can
automatically scale your application based on
demand, distribute traffic across multiple
instances, and restart failed instances.
Use auto-scaling:
 Auto-scaling enables you to automatically adjust
the number of instances of a service based on
demand.You can set up rules for scaling up or
down based on metrics such as CPU usage or
network traffic, or you can consider using
serverless computing allows you to run code
without having to manage servers or
infrastructure.This can be especially useful for
handling bursts of traffic, as the cloud provider
will automatically scale up the number of
instances needed to handle the traffic.
Use a load balancer:
 A load balancer can distribute incoming traffic
across multiple instances of your application,
ensuring that the load is evenly distributed and
no single instance becomes overloaded.You can
use a cloud provider load balancer or a
Kubernetes Ingress Controller.
Use a distributed database:
 Use a distributed database that can scale
horizontally to handle the increased load.This
will ensure that the database can handle a higher
volume of read and write requests.
Use a CDN:
 A content delivery network (CDN) can cache
static assets and distribute them across multiple
locations around the world, reducing the load on
your application servers and improving
performance for users in different regions.
Use a message queue:
 Use a message queue to decouple your
microservices and reduce the risk of service
failures. A message queue can also help you
handle bursts of traffic by buffering requests
during peak times.
Monitor and optimize:
 Finally, it's important to monitor your
application's performance and optimize it for
scalability.This includes monitoring the
performance of your infrastructure, analyzing
logs and metrics to identify bottlenecks, and
optimizing your code for efficiency.

More Related Content

PDF
Best Practices for Building Scalable Web Applications.pdf
PDF
how to build an app that sales with your business
PPTX
Building-Scalable-Web-Applications.Presentation
PDF
How Scalable Application Development Services Drive Long-Term Business Success
PDF
How to Build an App That Scales with Your Business Growth.pdf
PPTX
Building Scalable Applications with Microsoft Azure
PDF
Autoscaling Confluent Cloud: Should We? How Would We?
PPTX
Scaling a Software product - Coddle Technologies
Best Practices for Building Scalable Web Applications.pdf
how to build an app that sales with your business
Building-Scalable-Web-Applications.Presentation
How Scalable Application Development Services Drive Long-Term Business Success
How to Build an App That Scales with Your Business Growth.pdf
Building Scalable Applications with Microsoft Azure
Autoscaling Confluent Cloud: Should We? How Would We?
Scaling a Software product - Coddle Technologies

Similar to Scale your cloud native application. (20)

PDF
Scalable Web Apps - Journey Through the Cloud
PPTX
Scalable Web Applications in AWS, 2014
PDF
Advanced Full Stack Development: Scaling, Deployment, and Maintenance
PDF
how_to_build_a_robust_web_application_in_2023.pdf
PDF
Scalable Web Applications Session at Codebase
PDF
Build A Scalable Mobile App
PDF
SaaS Application Scalability: Best Practices from Architecture to Cloud Infra...
PDF
How to Build a Robust Web Application in 2024.
PPTX
Building Highly Scalable Apps On Bluemix
PPTX
Cloud computing
PPTX
Cloud Computing - Geektalk
PPTX
Scalable web apps on AWS - Hebrew Webinar September 2017
PDF
Azure Application Architecture Guide ~Design principles for Azure application...
PPTX
Cloud workload guidelines
PDF
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
PDF
Kuliza's ZaCloud
PPTX
Scalable apps
 
PDF
Scaling Confluence Architecture: A Sneak Peek Under the Hood
PPTX
Cloud First Architecture
PDF
How to Build a Robust Web Application in 2024.pdf
Scalable Web Apps - Journey Through the Cloud
Scalable Web Applications in AWS, 2014
Advanced Full Stack Development: Scaling, Deployment, and Maintenance
how_to_build_a_robust_web_application_in_2023.pdf
Scalable Web Applications Session at Codebase
Build A Scalable Mobile App
SaaS Application Scalability: Best Practices from Architecture to Cloud Infra...
How to Build a Robust Web Application in 2024.
Building Highly Scalable Apps On Bluemix
Cloud computing
Cloud Computing - Geektalk
Scalable web apps on AWS - Hebrew Webinar September 2017
Azure Application Architecture Guide ~Design principles for Azure application...
Cloud workload guidelines
Scalable Architecture on Amazon AWS Cloud - Indicthreads cloud computing conf...
Kuliza's ZaCloud
Scalable apps
 
Scaling Confluence Architecture: A Sneak Peek Under the Hood
Cloud First Architecture
How to Build a Robust Web Application in 2024.pdf
Ad

Recently uploaded (20)

PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
System and Network Administration Chapter 2
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
L1 - Introduction to python Backend.pptx
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
How Creative Agencies Leverage Project Management Software.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PTS Company Brochure 2025 (1).pdf.......
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Which alternative to Crystal Reports is best for small or large businesses.pdf
top salesforce developer skills in 2025.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Reimagine Home Health with the Power of Agentic AI​
Wondershare Filmora 15 Crack With Activation Key [2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
2025 Textile ERP Trends: SAP, Odoo & Oracle
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
CHAPTER 2 - PM Management and IT Context
System and Network Administration Chapter 2
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
L1 - Introduction to python Backend.pptx
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Ad

Scale your cloud native application.

  • 1. SCALE FROM 10 REQUESTS PER SECOND TO 100,000 REQUESTS PER SECOND IN A CLOUD NATIVE ENVIRONMENT: @saktib_
  • 2. Evaluate current system performance:  Before scaling an application, it is important to have a clear understanding of the current system performance.This can be achieved by measuring and analyzing system metrics such as response time, throughput, and resource utilization.
  • 3. Optimize existing code and database queries:  Optimize your code to reduce latency, improve response times, and lower resource consumption.This can include techniques such as caching, lazy loading, optimizing algorithms, and using asynchronous programming. Improving the performance of existing database queries can significantly enhance the system's ability to handle more requests.This could involve caching frequently accessed data, and minimizing the number of database queries.
  • 4. Use asynchronous processing:  Implementing asynchronous processing can allow the system to handle more requests concurrently by leveraging the power of multiple CPU cores.This could involve using message queues or event-driven architectures.
  • 5. Design for scalability:  When designing your application, make sure that it is built to scale.This means using a distributed architecture that can handle multiple instances of the application running in parallel, as well as a data storage layer that can scale horizontally.
  • 6. Use containerization:  Containerization allows you to package your application into small, lightweight containers that can be easily deployed and scaled.This also allows for faster deployments and rollbacks if necessary.
  • 7. Use an orchestration tool:  An orchestration tool like Kubernetes can help manage the deployment, scaling, and monitoring of your application. Kubernetes can automatically scale your application based on demand, distribute traffic across multiple instances, and restart failed instances.
  • 8. Use auto-scaling:  Auto-scaling enables you to automatically adjust the number of instances of a service based on demand.You can set up rules for scaling up or down based on metrics such as CPU usage or network traffic, or you can consider using serverless computing allows you to run code without having to manage servers or infrastructure.This can be especially useful for handling bursts of traffic, as the cloud provider will automatically scale up the number of instances needed to handle the traffic.
  • 9. Use a load balancer:  A load balancer can distribute incoming traffic across multiple instances of your application, ensuring that the load is evenly distributed and no single instance becomes overloaded.You can use a cloud provider load balancer or a Kubernetes Ingress Controller.
  • 10. Use a distributed database:  Use a distributed database that can scale horizontally to handle the increased load.This will ensure that the database can handle a higher volume of read and write requests.
  • 11. Use a CDN:  A content delivery network (CDN) can cache static assets and distribute them across multiple locations around the world, reducing the load on your application servers and improving performance for users in different regions.
  • 12. Use a message queue:  Use a message queue to decouple your microservices and reduce the risk of service failures. A message queue can also help you handle bursts of traffic by buffering requests during peak times.
  • 13. Monitor and optimize:  Finally, it's important to monitor your application's performance and optimize it for scalability.This includes monitoring the performance of your infrastructure, analyzing logs and metrics to identify bottlenecks, and optimizing your code for efficiency.