Allocate CPU and Memory to your backend infrastructure
Compute resources are the fundamental units that represent the processing power and memory available to your projects. The primary compute resources are vCPU and RAM.This documentation outlines the key aspects of compute resources in the context of the Nhost Cloud Platform.
To further improve availability and fault tolerance, check out Service Replicas
In a shared model, compute resources are shared amongst users. This is fine if your services mostly run at low to medium load, occasionally burst for brief periods of time, and can tolerate drops in performance. It is important to understand that the availability of CPU time is not guaranteed.
When using dedicated compute we allow your application to use more than its alloted CPU resources if those resources are available. This means what we are calling dedicated compute is, in fact, guaranteed compute. For instance:
In the graph above we can see three applications assigned to the same node, each with its own dedicated compute (the solid lines block). However, all applications are allowed to use the non-solid region of compute as long as the rest of the projects are not using it:
Above we can see three different scenarios:
In scenario A the green application is barely using its alloted CPU so if the other applications need it, they can borrow it.
Similarly, in scenario B the green application can borrow resources if it needs it from other applications if those aren’t using them.
In the case all applications need to use all of their resources, nobody can steal from each other as resources are guaranteed per application.
This borrowing of resources is convenient in case of short and unexpected bursts, however, as those are not guaranteed you shouldn’t rely on them for sustained usage.
By default disks are provisioned with a capacity for 3000 IOPS and 125 Mbps of throughput. If you need higher performance don’t hesitate to contact us.
All files uploaded to the storage service are encrypted at rest using AES-256 encryption. Similarly, any volumes provisioned for your database and Run services are also encrypted using AES-256.
Only volumes provisioned after December 2024 are encrypted with AES-256. You can verify your volume’s encryption status by navigating to your project’s settings -> Database -> Storage capacity. If your volume is not encrypted, you’ll see a warning message indicating this. To enable encryption on your volume, you can pause and then unpause your project. This action will provision new volumes with encryption enabled.