Best practices for distributing services
Each service has an associated service unit cost. These costs indicate how computationally expensive one service is to run compared to another. You can use these costs as a guide for how to distribute services across the instances in your system.
Best practices
- Avoid running multiple services with high service unit costs together on
the same instance.
Ideally, each of these services should run by itself on an instance:
- Database
- Index
- On master instances, avoid running any services besides those classified as System services.
- To use your instances evenly, try deploying a comparable number of service units on each instance.
- Moving or scaling services can cause document failures during a workflow task. Before moving or scaling a service, you should either pause all running workflow tasks or wait for them to complete.