In this stage of your product's life cycle, the focus shifts towards expanding production capacity and optimizing processes to meet increasing demand.
As your application scales, you may begin to experience performance issues. As more users interact with your application, it may struggle to keep up with requests. This could see throughput (how many requests your application can process) drop as demand increases. In this instance, you will need to scale your application so that it can handle more traffic. There are two ways you can scale:
Method | Description |
---|---|
Vertical | Increasing your server's resources, such as RAM or CPU power. This method is recommended when your application is experiencing performance issues due to a lack of resources. |
Horizontal | Adding additional servers to your application. This method is recommended when your application experiences performance issues due to heavy traffic. |
Metric | Description | What to look out for |
---|---|---|
Throughput | How many requests your application is processing | A decrease in throughput may indicate issues such as server overload, network problems, or performance bottlenecks. |
Status codes | How your application is responding to requests | An increase in error status codes (e.g., 4xx or 5xx) can indicate issues such as broken functionality, incorrect input handling, or problems with integrations. |
Connections | A gauge of the connections currently being handled | A sudden increase in connection count could suggest a surge in user activity. It can also indicate your application needs more resources to handle increased traffic or improper connection handling, leading to performance issues or bottlenecks. |
Error rate | Percentage of requests that result in an error | A sudden increase in the error rate may indicate underlying issues such as bugs, server problems, or inadequate error handling. |
In the scaling phase, spotting patterns becomes increasingly important, as your application's increased usage makes it impossible to investigate and reproduce every anomaly.
Some key patterns to look out for:
With AppSignal, you will have real-time access to your application's critical metrics, visualized in graphs, allowing you to spot patterns and investigate them quickly:
You can even set up triggers for key metrics to notify you when they reach a specific threshold, allowing you to take the necessary steps to maintain your application's availability.
This article is part of a series. We have a Learning Center article for each stage in the product life cycle:
Don't worry about surprise invoices or having to guess your usage. Thanks to our relaxed upgrade policy, AppSignal scales with you. Join us with a free trial to start monitoring your application with AppSignal. You can be set up in as little as five minutes. If you have any questions or require help, our dev-to-dev support is on hand.
AppSignal offers a 30-day free trial, no credit card is required. All features are available in all plans. Start monitoring your application in just a few clicks!