account1 という名前の Azure Cosmos DB for NoSQL アカウント内に container1 という名前のコンテナがあり、セッションの既定の整合性レベルに設定されています。コンテナ内のアイテムの平均サイズは 20 KB です。 App1という名前のアプリケーションがあり、このアプリケーションはAzure Cosmos DB SDKを使用し、コンテナ1内の同じアイテムセットに対して1分ごとにポイント読み取りを実行します。 App1による読み取りに関連付けられたリクエストユニット(RU)の消費量を最小限に抑える必要があります。 あなたはどうすべきですか?
正解:C
The main goal of the integrated cache is to reduce costs for read-heavy workloads. Low latency, while helpful, is not the main benefit of the integrated cache because Azure Cosmos DB is already fast without caching. Point reads and queries that hit the integrated cache won't use any RUs. In other words, any cache hits will have an RU charge of 0. Cache hits will have a much lower per-operation cost than reads from the backend database. Workloads that fit the following characteristics should evaluate if the integrated cache will help lower costs: - Read-heavy workloads - Many repeated point reads on large items - Many repeated high RU queries - Hot partition key for reads Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/integrated-cache