How CPU and RAM limits works

Qoddi’s isolation architecture assigns a specific value of CPU cores and RAM that one app can use at any time.

The way Qoddi limits and enforce the limitation of resources is different for Dev and Production apps.

Production Apps

All production Apps (WEB sizes and higher) can use a temporary burst in order to mitigate the risks of application failure in case of temporary stress or traffic peak. This additional quota can only be used for 5 minutes every 24 hours and is limited to twice the app’s original resources (2GB of RAM additional for a WEB app for instance).

If a production app uses more than the available quota of CPU and has already used the allowed burst time, Qoddi will simply limit the app’s ability to use additional CPU resources. This may slow down your app or cause unintentional behavior of your app.

If a production app uses more than the available quota of RAM and has already used the allowed burst time, Qoddi will automatically restart the app. This can make your app go offline while your app restart (usually in under 10 seconds). That usually fixes the issue by killing any zombie process or memory leak that can disrupt the app’s behavior.

If this happens too often or if your app repeatedly uses more than its allowed resources we will send you an email to let you know it may be time to scale your app to a larger size. It’s your choice to do it or not and Qoddi will continue to run your app either way.

Dev Apps

Dev Apps are free apps that are not authorized to scale, are not burstable, and must use less than 99% of allowed resources at any time.

If a dev app uses more than the available quota of RAM, Qoddi will automatically restart the app. This can make your app go offline while your app restart (usually in under 10 seconds). That usually fixes the issue by killing any zombie process or memory leak that can disrupt the app’s behavior.

If your app uses more than 99% of CPU or RAM resources repeatedly, we will send you an email to let you know this happens. To scale the app you will have to recreate a new app using a Production size instance.

If the issue is not fixed in the next 24 hours your app will be marked for deletion and removed from the system.

Was this helpful?

6 / 3