IMPORTANT - You should NOT change storage provisioning or scaling settings without first contacting Datomic Support.

In the production topology, a Datomic Cloud system scales horizontally in three ways:


Automatic Storage Scaling

Datomic stores database data in three places:

  • S3
  • EFS
  • DynamoDB

All three of these storages scale automatically, and do not require any configuration.

Explicit Database Scaling

Transactions are distributed across the primary compute group. If you are writing to a large number of different databases, you can increase the size of the primary compute group by explicitly expanding its Auto Scaling Group.

You should not enable AWS Auto Scaling on the primary compute group. If you need autoscaling for query, see the next section.

Elastic Auto Scaling

Larger systems consist of a primary compute group for transactions, plus one or more query groups for various read loads and applications. This provides two forms of horizontal read scaling:

  1. You can explicitly start and stop query groups, and then route particular loads to them. This allows you to make after-the-fact decisions to adapt to new usage patterns. For example, you might have a query group dedicated to a range of data, to a high priority consumer, or to a single hot query. Note that your data is never partitioned, and no up-front decisions need to be made.
  2. Within a query group, you can set an elastic autoscaling trigger so that the group grows and shrinks based on load.

Note that when you are using ions, this elastic auto scaling applies to your entire application.