Skip to main content

Momento Leaderboards service quotas

info

Service quotas are directly affected by the support plan on your account. Both soft and hard limits are increasable for the Pro tier and Enterprise plans. If you would like to request an increase, please contact sales.

Limits

ResourceEntityDefaultBasic supportPro support
Soft limits
Namespace countregion330300
Operations per secondnamespace1001,00010,000
Hot storagenamespace100 MB1 GB10 GB
Hard limits
Time to live (TTL)item7 days
Item size1item50 MB
Entry sizeentry128 KB
Operations per second (control APIs)region5

Operations

Certain cache APIs can perform multiple operations in a single request. Multi-element operations are more efficient, so the cost of these APIs is discounted at a 2:1 ratio. This means every two elements will count as one operation towards the limiter.

As an example, an Upsert request adding one or two elements costs one operation, but with three or four elements it costs two operations, and so on. All the APIs listed below perform multiple operations and are subject to reduced cost. All unlisted APIs cost one operation.

API NameOperations
FetchByRankNumber of elements in response / 2, or 1 if leaderboard is not found
FetchByScoreNumber of elements in response / 2, or 1 if leaderboard is not found
GetRankNumber of elements in response / 2, or 1 if leaderboard is not found
RemoveElementsNumber of elements in response / 2
UpsertNumber of elements in request / 2

Footnotes

  1. Item size includes both cache key and cache value.