Cosmos DB Best Practices: Partitioning, RU and Consistency

Today in this article, we will see a practical Cosmos DB best practices guide for Azure Cosmos DB for NoSQL, covering partition keys, RU optimization and consistency levels. It is written for engineers, architects and DBAs who run Cosmos DB in production or are about to.

Three decisions drive most production problems. The first is the partition key, which cannot be changed in place once a container exists. The second is the RU cost of each operation, since every read and write is billed in Request Units. The third is the consistency level, which trades read freshness against latency and availability.

The guide starts with an at-a-glance table. It then covers partition keys and hierarchical partition keys, hot partitions and data modeling, and RU and 429 handling with .NET SDK v3 code. After that come consistency levels, followed by anti-patterns, a production readiness checklist and a migration note. You will not find generic savings figures here. Instead, the guide shows you how to measure your own RU numbers, because the cost depends on your data and queries.

Before we start, you need an existing Cosmos DB for NoSQL account and the .NET SDK v3 (Microsoft.Azure.Cosmos). The current SDK version was not confirmed while writing, so check NuGet for the latest release.

Version note: This guide targets Azure Cosmos DB for NoSQL (a managed service with no user-facing version number, with features announced up to Build 2026 in June 2026) and the .NET SDK v3 (Microsoft.Azure.Cosmos), whose current version you should confirm on NuGet.

 

In this guide

Cosmos DB Best Practices at a Glance

Most Cosmos DB problems come from a weak partition key, expensive queries and the wrong consistency level. The table below sums up the rules for Cosmos DB cost optimization and performance.

Here is a quick reference of what to do and what to avoid in each area:

Area Do this Avoid this
Partition key Pick a high-cardinality key that spreads storage and RU use evenly. Keep each logical partition under 20 GB, unless you use a hierarchical key that ends in /id, which lets the earlier levels grow past that limit. Low-cardinality or purely time-based keys.
Hierarchical keys Use up to three levels, each with high cardinality, ordered by filter use. A first level that only a few values ever touch.
Data model Colocate related entity types in one container or a few. One container per entity type.
Reads Use point reads (id plus partition key). Project only the fields you need. SELECT * and cross-partition queries.
Indexing policy Exclude paths you never filter or sort on. Indexing everything on write-heavy data.
Throughput mode Match RU/s to the real workload shape. Paying for peak capacity all day.
429 handling Honor the retry-after value and tune SDK retry settings. Adding RU/s to fix a hot partition.
Consistency Choose the weakest account default your correctness rules allow. Relax it per request for reads that can tolerate it. Strong consistency everywhere.
Monitoring Log the RU charge from every response. Guessing where RUs go.
Migration Decide the key early. Copy data to a new container if it must change. Expecting an in-place key change.

Each row is explained with its reason in the sections below.

In plain English: A Request Unit (RU) is one normalized currency for the CPU, IO and memory an operation needs. Think of it like a restaurant bill: reading one small item is a cheap dish, a large query is a full banquet, and your throughput is the budget per second.

Cosmos DB Partition Key Best Practices

Choose a partition key with high cardinality (many distinct values) that spreads both storage and RU use evenly and appears in your most common query filters. The key is hard to change later, so it deserves the most design time of any Cosmos DB decision.

What Is the Difference Between a Logical and a Physical Partition?

A logical partition holds all items that share the same partition key value, and it is limited to 20 GB. A physical partition is the storage and compute unit that hosts one or more logical partitions. You control the first, and Cosmos DB manages the second.

In plain English: Think of a library. Each logical partition is a shelf of labelled books, and each physical partition is a room that holds several shelves. You choose the labels, and the library decides which room each shelf goes in. Unlike a real shelf, a logical partition can never grow past its 20 GB limit.

How Do You Know a Partition Key Is Good?

A good key passes four checks. Test your candidate against each one before you create the container.

  • High cardinality: many distinct values mean many small logical partitions that can be spread across physical partitions.
  • Even request distribution: no value should receive far more reads or writes than the others, or one partition throttles while the rest sit idle.
  • Even storage distribution: no value should approach the 20 GB logical partition limit.
  • Used in filters: a query that includes the key stays in one partition. Without it, the query becomes a cross-partition query that fans out to every partition and costs more RUs.

The animated diagram below walks through these checks as a decision tree, from your top queries to a single-property key, a hierarchical key, or a data model rework.

Decision tree: test filters, cardinality, and spread to pick a single-property key, a hierarchical key, or rework the data model.
Work through steps 1 to 3 in order; each answer leads to a single key, a hierarchical key, or a data model rework.

Worked Example: Which Key Fits an IoT Workload?

Microsoft’s IoT partitioning example compares three options for a system ingesting data from more than 50K devices. Only the third passes every check.

Candidate key Result Reason
DeviceId only Rejected Data from a device keeps accumulating, so with 50K+ devices there is a risk of hitting the 20 GB limit.
Time-based only Rejected All current writes land in one partition.
DeviceId plus time-based second level Chosen Balances even distribution with efficient queries.

When Should You Use Hierarchical Partition Keys?

Use Cosmos DB hierarchical partition keys when one property cannot satisfy the checks alone. They are generally available and allow up to three levels (e.g. TenantId, UserId, SessionId). They replace many synthetic-key designs, especially in multi-tenant workloads.

  • Keep every level high cardinality: this applies from the first level onward.
  • Watch the first level’s real traffic: a first level that looks high cardinality can still be hot if the workload touches only a few values.
  • Order levels by filter use: put the level that appears most often in your filters first, in the order you filter on them.

Items that share the same first-level value sit on the same physical partition, so queries on that value avoid a full fan-out. If the key ends with a unique value such as /id, the earlier levels can grow past 20 GB. No account-level setting is needed.

The code below creates a container with a three-level key (TenantId, UserId, id) and reads one item by building the full key. Use a recent version of the Microsoft.Azure.Cosmos package from NuGet.

C#

using Microsoft.Azure.Cosmos;

CosmosClient client = new CosmosClient(endpoint, key);
Database database = client.GetDatabase("appdb");

ContainerProperties properties = new ContainerProperties(
    id: "sessions",
    partitionKeyPaths: new List<string> { "/TenantId", "/UserId", "/id" });

ContainerResponse created =
    await database.CreateContainerIfNotExistsAsync(properties, throughput: 400);
Container container = created.Container;

PartitionKey partitionKey = new PartitionKeyBuilder()
    .Add("tenant-42")
    .Add("user-1001")
    .Add("session-9")
    .Build();

ItemResponse<Session> response =
    await container.ReadItemAsync<Session>("session-9", partitionKey);

public record Session(string id, string TenantId, string UserId);

The PartitionKeyBuilder values follow the path order, and the last value matches the item’s id.

Warning: You cannot change the partition key of an existing container in place. To change it, create a new container with the right key and copy the data across, so decide early and test your key against real access patterns first.

Fix a Cosmos DB Hot Partition with a Better Data Model

A Cosmos DB hot partition is one partition that takes far more RU or storage than the others. It starts to throttle while the rest of the container sits idle.

In plain English: Picture a supermarket with ten checkout lanes where every customer joins lane one. Lane one has a long queue while nine cashiers wait. Adding more cashiers doesn’t help, because customers still pick the same lane.

How do you detect a hot partition?

Compare partition-level metrics with the container-wide numbers in Azure Monitor (Metrics). Look at normalized RU consumption split by partition.

  • Skew pattern: a few partitions sit near 100% while the container average stays low. This points to a skewed key, not a lack of capacity.
  • Matching symptom: 429 responses appear even though total consumption looks well below what you provisioned.

Why doesn’t raising RU/s fix it?

Provisioned throughput is divided across physical partitions, so the hot partition still gets only its own share. Extra RU/s mostly pays for capacity the idle partitions never use. That is why this is a data model problem first and a Cosmos DB cost optimization problem second.

A Cosmos DB Conf 2026 production lesson shows this. One logical partition took over 80% of traffic. After the data model was fixed, with no extra scaling, RU utilization fell to 20-35% and throttling stopped.

What should you change in the data model?

Change the key or the shape of the data, in this order of preference:

  1. Pick a higher-cardinality key: choose a property with many distinct values that your workload actually touches evenly.
  2. Use hierarchical partition keys: add levels such as TenantId, UserId, id so one large tenant spreads across many partitions.
  3. Add a spreading level: a time bucket (e.g. day or month) stops current writes from landing on one value.
  4. Split read and write shapes: when one key can’t serve both, use the design below.

Should you colocate entity types in one container?

Yes, colocate related entity types in one container, or a small number of containers. Queries are scoped to one container, and multi-item atomic transactions (stored procedures and triggers) are scoped to one partition key in one container. Colocation also cuts network round trips.

If you can’t colocate, for example when migrating an existing app unchanged, consider database-level shared throughput.

What is the write-optimized container with change feed design?

Write to one container whose key spreads writes evenly. Then feed other containers through the change feed, each keyed for one read pattern. The animated diagram below shows this flow.

Writes enter an Orders container, the change feed processor copies items to containers keyed by CustomerId and ProductId, and reads hit them.
Writes land in one evenly partitioned container; the change feed builds read models so each query stays single-partition.

Example: a retail orders container is partitioned for even writes. The change feed processor copies each order into one container keyed by CustomerId and another keyed by ProductId. Both read paths then run as single-partition queries.

Microsoft announced the All Versions and Deletes change feed mode as generally available at Build 2026. Confirm its status in the announcement before you rely on it.

Trade-off: read-model containers add storage cost and eventual lag, since copies arrive after the write. Use them only when one partition key cannot serve both access patterns.

Cosmos DB RU Optimization and 429 Throttling

To reduce Cosmos DB request units, use point reads instead of queries, keep queries inside one partition, project only the fields you need and trim the indexing policy. Each of these lowers the RU charge, and RU charge drives both cost and throttling.

How Do You Measure Cosmos DB RU Cost?

Read the RequestCharge from every response. The same query on the same data always costs the same RUs, so the number is repeatable and safe to compare before and after a change.

Query execution metrics show where the RUs went. Paged results are charged per page, and the pages add up to the cost of the whole query. Measure your own workload instead of copying generic savings figures.

In plain English: An RU is like a price tag on each operation. A cheap lookup costs a few coins, a big scan costs many, and your provisioned RU/s is the coins you get each second.

Point Read vs Query: Which Costs Less?

A point read is the cheapest way to fetch one item. The table compares the three access shapes.

Operation Needs Cost behavior Use when
Point read id and partition key Lowest for one item You know both values
Single-partition query Partition key in the filter Grows with items scanned and returned You need a list inside one key value
Cross-partition query Partition key not in the filter Grows with the number of partitions touched and how selective the filter is; a query that fans out to many partitions costs more than the same query scoped to one Rare, admin or reporting needs

Query cost depends on the number and kind of predicates, the number of UDFs and the size of the source data. A query returning a thousand 1-KB items costs about 1,000 RUs, so at 1,000 RU/s you get roughly one such query per second before throttling. Use SELECT c.id, c.name, c.price instead of SELECT *.

Use case: A retail catalog service serves product pages by id and category. With category as the partition key, the product page is a point read, and the category listing is a single-partition query.

How Do You Trim the Indexing Policy?

Exclude paths you never filter or sort on. Every indexed path is maintained on each write, so fewer paths mean fewer write RUs.

JSON

{
  "indexingMode": "consistent",
  "includedPaths": [ { "path": "/*" } ],
  "excludedPaths": [ { "path": "/descriptionHtml/*" } ]
}

This simplified policy indexes everything except a large, unused description field.

Which Throughput Mode Should You Use?

Throughput is set at container level or shared at database level, and you can change it at any time. You pay for what you configure, so match RU/s to the real workload shape. Verify current limits on the pricing page.

Mode How it works Use when
Manual provisioned You set a fixed RU/s Traffic is steady and predictable
Autoscale RU/s adjusts within a range you set Traffic varies or has peaks
Serverless You pay per request, with no provisioned RU/s Traffic is small or occasional, e.g. dev and test

What Happens When Cosmos DB Returns 429?

When a request exceeds provisioned throughput, the service ends it with HTTP 429 (RequestRateTooLarge) and an x-ms-retry-after-ms header with the wait time in milliseconds. The SDK retry settings decide how many retries happen before the exception reaches your app.

The animated diagram below shows how a throttled request is retried, and what happens when retries run out.

Sequence across Application, SDK and service lanes: request gets 429, SDK waits, retry returns 200; alternate path ends in CosmosException.
The SDK honors x-ms-retry-after-ms and retries; once retry limits are hit, the 429 CosmosException reaches your code.

Workloads that aren’t latency-sensitive can run with less throughput and rely on this rate limiting. If 429s come from one hot partition, fix the key. More RU/s is split across partitions and won’t help.

How Do You Log RU Charge and Handle 429 in .NET?

Check NuGet for the current Microsoft.Azure.Cosmos version before you start. First, set the retry options on the client:

C#

// Run this once at application startup, not per request.
var client = new CosmosClient(connectionString, new CosmosClientOptions
{
    MaxRetryAttemptsOnRateLimitedRequests = 5,
    MaxRetryWaitTimeOnRateLimitedRequests = TimeSpan.FromSeconds(10)
});
Container container = client.GetContainer("retail", "products");

The SDK stops retrying a throttled call once it has made 5 retries or waited 10 seconds in total, whichever comes first, and then throws.

Create one CosmosClient per application lifetime and reuse it. The client is designed to be shared and is thread-safe, so register it as a singleton (e.g. in your dependency injection container) and inject the Container where needed. Creating a new client for every request wastes connections and adds startup cost to each call. The snippet above shows the client only to demonstrate the options, and the later examples assume the same shared container.

The values 5 and 10 seconds are example settings, not the SDK defaults. The research notes don’t list the default values, so check the current Cosmos DB .NET SDK documentation for them. Raising the limits makes the SDK wait longer and hide more throttling from your app, and lowering them makes 429 exceptions reach your code sooner. Pick values that fit how long a caller can wait.

C#

public record Product(string id, string category, string name, decimal price);

ItemResponse<Product> response = await container.ReadItemAsync<Product>(
    "sku-1001", new PartitionKey("shoes"));
Console.WriteLine($"Point read RU: {response.RequestCharge}");

This point read logs its own RU charge.

C#

public record ProductSummary(string id, string name, decimal price);

var query = new QueryDefinition(
    "SELECT c.id, c.name, c.price FROM c WHERE c.category = @category")
    .WithParameter("@category", "shoes");
var options = new QueryRequestOptions { PartitionKey = new PartitionKey("shoes") };

double totalRu = 0;
using FeedIterator<ProductSummary> iterator =
    container.GetItemQueryIterator<ProductSummary>(query, requestOptions: options);
while (iterator.HasMoreResults)
{
    FeedResponse<ProductSummary> page = await iterator.ReadNextAsync();
    totalRu += page.RequestCharge;
}
Console.WriteLine($"Query RU: {totalRu}");

This single-partition query projects three fields and adds up the charge for every page.

C#

try
{
    await container.ReadItemAsync<Product>("sku-1001", new PartitionKey("shoes"));
}
catch (CosmosException ex) when (ex.StatusCode == System.Net.HttpStatusCode.TooManyRequests)
{
    Console.WriteLine($"Throttled. Retry after: {ex.RetryAfter}");
    Console.WriteLine(ex.Diagnostics.ToString());
    // Back off here before trying again.
}

This catch block runs only after the SDK has used up its retries, so log the diagnostics and back off.

Cosmos DB Consistency Levels: Choose and Override

Cosmos DB offers five consistency levels: Strong, Bounded Staleness, Session, Consistent Prefix and Eventual. Session is the default. Pick the weakest level your correctness rules allow for each read, because stronger levels cost more.

In plain English: Consistency is how quickly an update you save shows up for everyone else. Think of a news site: one screen shows the new headline, and consistency decides how long another screen may still show the old one. Unlike a news site, Cosmos DB lets you choose that wait.

What Does Each Consistency Level Guarantee?

The table below describes what a reader sees at each level and where it fits.

Level What readers see Typical use case
Strong Always the latest committed write Account balances, inventory that cannot oversell
Bounded Staleness Data that lags by a limited amount, never more Dashboards that tolerate a known delay
Session Your own writes, in order, within your session Most apps, e.g. shopping cart, user profile
Consistent Prefix Updates in order, but possibly behind Activity feeds where order matters
Eventual No ordering promise, converges later Like counts, view counts

What Are the Trade-offs?

Stronger levels add latency and reduce availability. Strong is also not available when the account uses multi-region writes. Strong and Bounded Staleness reads cost more RUs than reads at the weaker levels, so a stricter default has a price on every read that does not override it.

The size of that difference depends on your data and access pattern. Measure RequestCharge for your own reads at each level instead of trusting a generic figure.

How Do You Override Consistency Per Request?

You can set the consistency level on a single request with ItemRequestOptions.ConsistencyLevel. The rule is simple: a per-request override can only be equal to or weaker than the account default, never stronger.

This means the account default is your ceiling. If the default is Session, you cannot raise a single request to Strong. To have any request read at Strong, the account default itself must be Strong.

So the design works in one direction. Set the account default to the strictest level your most sensitive reads need, then relax it per request for reads that can tolerate staleness. Here is a simplified example for a retail review feed:

C#

var options = new ItemRequestOptions
{
    ConsistencyLevel = ConsistencyLevel.Eventual
};

ItemResponse<Review> response = await container.ReadItemAsync<Review>(
    id: "review-1001",
    partitionKey: new PartitionKey("product-42"),
    requestOptions: options);

Console.WriteLine($"RU charge: {response.RequestCharge}");

This reads one review at Eventual consistency, which is weaker than any account default, and logs its RU charge so you can compare levels.

Example: A banking service sets the account default to Strong, because balance checks must always see the latest committed write (this needs an account without multi-region writes). Reads that tolerate delay, such as a statement history page, relax to Session or Eventual on each request to save latency and RUs. A retail product-review feed relaxes to Eventual the same way, since a review appearing a few seconds late harms nobody.

Common Anti-Patterns, Operations and Production Readiness Checklist

Most production incidents trace back to a few repeated design mistakes. The table below lists each one with the symptom you will see and the fix.

Which Cosmos DB anti-patterns cause the most trouble?

Anti-pattern Symptom Fix
Low-cardinality or time-only key One partition takes all writes or nears 20 GB Use a high-cardinality or hierarchical key
Key not used in filters Cross-partition fan-out, high RU per query Pick a key your common filters contain
SELECT * and queries instead of point reads High RequestCharge for simple lookups Use ReadItemAsync, project only needed fields
One container per entity type Many round trips, no cross-entity transactions Colocate related entities
Default indexing on write-heavy data High write RU cost Exclude paths you never filter or sort on
Raising RU/s to fix a hot partition 429s continue, cost rises Fix the key or data model
Never logging RequestCharge Cost surprises with no cause Log charge and diagnostics per operation
Strong consistency everywhere Higher latency, less availability Set the default to the weakest level that is acceptable and relax per request

In plain English: A cross-partition query is like asking every room in a library to search its shelves for you. A good key sends you to the one room that holds your book.

What should you monitor in production?

Watch three signals: normalized RU consumption, 429 counts and provisioned RU/s.

  • Normalized RU consumption: check it per partition, not only as a container average, to spot skew.
  • 429 counts: a steady stream means a hot partition or too little throughput.
  • Provisioned RU/s: match it to the real shape of your workload. This is the main lever for Cosmos DB cost optimization.

How do you migrate to a new partition key?

You can’t change the partition key of an existing container in place. Create a new container with the right key, copy the data (e.g. with change feed or a bulk copy job) and cut over. Test the whole process on a copy first.

Which recent features need a status check?

Build 2026 (June 2026) announced the Linux Emulator and the All Versions and Deletes change feed mode as generally available, along with Global Secondary Indexes. Verify each feature’s status in the announcement before you depend on it.

Production readiness checklist

Work through these steps in order before go-live:

  1. Model access patterns: list your reads, writes and filters first.
  2. Choose and load-test the partition key: use realistic data and traffic.
  3. Confirm 20 GB headroom: check that no logical partition value can outgrow the limit.
  4. Colocate entities: group related types in one container where queries and transactions need it.
  5. Trim the indexing policy: exclude unused paths.
  6. Log RequestCharge: record it for every operation.
  7. Use a singleton CosmosClient: create one client per application and reuse it for all requests, instead of creating a new client per call. The client holds the connections and the retry settings, so sharing it keeps behavior consistent.
  8. Set SDK retry options: configure the retry count and maximum wait on that single client.
  9. Consider preferred regions and direct mode (optional): if your account has more than one region, set the preferred regions list so the SDK reads from the closest one. Also review the SDK’s connection mode (direct or gateway) for your workload. Check the current SDK documentation for the exact options.
  10. Alert on 429s and partition skew: watch both.
  11. Relax consistency per request where staleness is acceptable: set the account default to the weakest level your correctness rules allow. Then relax individual reads that tolerate stale data, for example a product-review feed. A request can only use a level equal to or weaker than the default, so confirm this rule on the official consistency-levels page.
  12. Rehearse migration and restore: prove you can recover before you must.

Key takeaways

These are the points to remember from this guide, in the order you will likely need them when designing or fixing a Cosmos DB workload:

  • Choose the partition key from access patterns: pick a key with high cardinality that spreads both storage and RU use evenly and appears in your most common query filters. Keep each logical partition well under the 20 GB limit.
  • Use hierarchical partition keys for multi-tenant workloads: you can use up to three levels (e.g. TenantId, UserId, id), and every level should have high cardinality. Ending the key with a unique value such as /id lets the earlier levels grow past 20 GB.
  • Fix hot partitions with the data model, not more RU/s: throughput is divided across physical partitions, so raising it does not help a skewed key. Change the key, add a spreading level, or split read and write shapes with change feed.
  • Prefer point reads and project only what you need: read by id plus partition key when you can, keep queries inside one partition, and select specific properties instead of SELECT *. Exclude paths you never filter or sort on from the indexing policy to lower write cost.
  • Measure RequestCharge and handle 429s deliberately: log the RU charge for each important operation, set the SDK retry options, and alert on throttling and partition skew. A 429 caused by a hot partition needs a key fix, not a bigger RU/s setting.
  • Treat the account default consistency as the ceiling: Session is the default, so pick the weakest level your correctness rules allow. A request can only relax that level, never make it stronger. If a critical read (e.g. a banking balance check) needs stronger guarantees, set the account default to that stronger level and relax it per request for the reads that can tolerate it. Confirm these rules on the official consistency-levels page.
  • Decide the partition key early: you cannot change it in place on an existing container. A change means creating a new container, copying the data and cutting over, so rehearse that migration on a copy first.

That’s all! Happy coding!

Did this guide solve your Cosmos DB partitioning, RU or consistency issue? Please share your questions or experience in the comments below.

Bookmark this page or share it with your team, so it is handy for your next design review. Subscribe to TheCodeBuzz for more database best-practice guides.

FAQ

How do I choose a good partition key in Cosmos DB?

Choose a key with high cardinality that spreads both storage and RU use evenly and appears in your most common query filters. Keep each logical partition well under the 20 GB limit, and avoid keys that send all current writes to one value, such as a purely time-based key. If you need more than one level, a hierarchical key of up to three levels (e.g. TenantId, UserId, id) works well for multi-tenant workloads. Decide early, because the key of an existing container cannot be changed in place.

What is a hot partition in Cosmos DB and how do I fix it?

A hot partition is one partition that takes far more RU or storage than the others, so it throttles while the rest of the container sits idle. To detect it, compare normalized RU consumption per partition in Azure Monitor. A few partitions near 100% while the container average stays low points to skew. Fix it with the data model: pick a higher-cardinality or hierarchical key, add a spreading level such as a time bucket, or split read and write shapes. Raising RU/s does not help, because throughput is divided across partitions.

How do I reduce RU consumption in Cosmos DB?

Use point reads by id and partition key instead of queries, keep queries inside a single partition, and select only the properties you need instead of SELECT *. Exclude paths you never filter or sort on from the indexing policy, since every indexed path is maintained on each write. Then measure the RequestCharge of each operation, because the same query on the same data always costs the same RUs. Check your own workload rather than relying on generic savings figures.

How do I fix 429 Request Rate Too Large errors in Cosmos DB?

First check whether the 429s come from a hot partition. If they do, fix the partition key or data model, because adding RU/s will not solve skew. If load is spread evenly, tune the SDK retry settings (MaxRetryAttemptsOnRateLimitedRequests and MaxRetryWaitTimeOnRateLimitedRequests), which honor the x-ms-retry-after-ms header the server returns. If throttling stays steady after that, raise throughput to match the real workload shape. Workloads that are not latency-sensitive can run with less throughput and rely on rate limiting.

Which Cosmos DB consistency level should I use, and what is the default?

Session is the default level, but it is not the right choice for every workload. Pick the weakest level your correctness rules allow, since stronger levels cost more in latency and availability.

The account default is the strongest level any request can get. A request can only weaken it with a per-request override, never strengthen it. So if even one operation, such as a banking balance check, needs a strong guarantee, the account default must be at least that strong. Then relax the other, less critical reads (e.g. a product-review feed) per request.

Confirm on the official consistency-levels page whether Strong is available with multi-region writes, because that detail comes from a third-party source.

Sources and further reading

 

Leave a Reply

Your email address will not be published. Required fields are marked *