Distributed Counter
The Distributed Counter Service is built to allow tenants to maintain their own sets of counters within isolated namespaces. This ensures that counter operations (increment, decrement, read, etc.) occur in a secure, conflict-free environment. The service is distributed and designed to handle a high volume of concurrent operations across multiple data centers. ### Key Features -…
Distributed Counter endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
increment /counter/{counter_id}/increment |
Increment the counter. By default by 1, unless specified. Can also be decremented if passing negative argument. New counter will be created in the first API call. |
| GET |
get_count /counter/{counter_id} |
get the value of the counter, keep in mind, it's eventually consistent. |
Distributed Counter pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $5 / month | 100 / second |
|
| ULTRA Recommended | $10 / month | 1000 / second |
|
| MEGA | $30 / month | — |
|