Memory
Keeps rate limit counters in the memory of the tilegroxy daemon itself.
| Counters aren’t shared between instances, so a deployment of N instances lets through N times each limit, and that multiple changes whenever an autoscaler adds or removes instances. Counts are also lost on restart, which makes this unsuitable for long periods. Use redis in production. |
Description
When maxsize is reached the least recently used counters are dropped, which resets the limit for whoever they belonged to. Counters are kept across a reload as long as maxsize doesn’t change.
Since the counters live inside the server process, the ratelimit status and ratelimit reset commands can’t read or reset them.
Also accepts the policies and options shared by every store.