Return

Pattern: Service Priority

Services should be assigned different priorities depending on its importance.

Service Priority

You have deployed multiple applications in a dynamically orchestrated environment. In dynamic/cloud environment we want to over provision our infrastructure in order leverage dynamic nature of our applications to use our resources (CPU/Memory) as efficiently as possible.

In This Context

When resources (usually memory) are exhausted on a node/server our dynamic orchestration platform is forced to choose an application(s) to evict in order to avoid the entire node crashing. This can have negative effects if our critical applications are taken down.

Therefore

We can specify the relative priority of our different applications in order to pre-determine which ones will be evicted first. This allows us to protect our more critical services.

Actions

Consequently

You can leverage over-provisioning of resources for efficent use of infrastrcucture whilst adding a measure of protection for critical services.