Momento Leaderboards service quotas
備考
サービスクォータは、アカウントのサポートプランに直接影響されます。ソフトリミットとハードリミットの両方は、プロティアプランとエンタープライズプランで増やすことができます。上限緩和をご希望の場合は、営業担当までご連絡ください.
Limits
| Resource | Entity | Default | Basic support | Pro support |
|---|---|---|---|---|
| Soft limits | ||||
| Operations per second | namespace | 100 | 1,000 | 10,000 |
| Hot storage | namespace | 100 MB | 1 GB | 10 GB |
| Namespace count | region | 3 | 30 | 300 |
| Hard limits | ||||
| Time to live (TTL) | item | 7 days | ||
| Item size1 | item | 50 MB | ||
| Entry size | entry | 128 KB | ||
| Operations per second | region | 5 | ||
Operations
特定のキャッシュAPIは、1つのリクエストで複数の操作を実行できます。複数要素の操作はより効率的であるため、これらのAPIのコストは2:1の比率で割り引かれます。つまり、2つの要素ごとに1つの操作としてリミッターにカウントされます。
例として、1つまたは2つの要素を追加するUpsertリクエストは1つの操作を要しますが、3つまたは4つの要素では2つの操作を要します。以下に挙げるすべてのAPIは複数の操作を実行し、コスト削減の対象となります。リストにないAPIはすべて1操作のコストです。
| API Name | Operations |
|---|---|
| FetchByRank | Number of elements in response / 2, or 1 if leaderboard is not found |
| FetchByScore | Number of elements in response / 2, or 1 if leaderboard is not found |
| GetRank | Number of elements in response / 2, or 1 if leaderboard is not found |
| RemoveElements | Number of elements in response / 2 |
| Upsert | Number of elements in request / 2 |
Footnotes
-
Item size includes both cache key and cache value. ↩