storage
In-memory data storage
The cache service provides simple in-memory key-value storage. Values can be stored with an optional time-to-live (TTL) to automatically expire entries. Get, set, and delete operations are supported as well as listing keys and incrementing counter values.
Decrement a value (if it's a number). If key not found it is equivalent to set.
Delete a value from the cache. If key not found a success response is returned.
Get an item from the cache by key. If key is not found, an empty response is returned.
Increment a value (if it's a number). If key not found it is equivalent to set.
List all the available keys
Set an item in the cache. Overwrites any existing value already set.
Endpoint | Per Request |
---|---|
Decrement | Base |
Delete | Base |
Get | Base |
Increment | Base |
List Keys | Base |
Set | 0.0001 USD |
Base requests are 0.000001 USD
Decrement Request
Response
{
"key": "counter",
"value": 0
}