Loading…
While this loads — worth knowing
Redis has data structures — sorted sets, counters, pub/sub. Memcached has plain keys and nothing else.
Loading…
While this loads — worth knowing
Redis has data structures — sorted sets, counters, pub/sub. Memcached has plain keys and nothing else.
Loading the challenge…
While this loads — worth knowing
Redis has data structures — sorted sets, counters, pub/sub. Memcached has plain keys and nothing else.
A public API is being abused: a few clients fire thousands of requests a second and starve everyone else. The team wants to cap each client to a fixed number of requests per time window and reject the rest immediately, before any real work is done. The check has to be cheap, because it runs on every single request, and it has to be consistent across a fleet of identical API servers behind a load balancer, so a client cannot slip past simply by being routed to a different server each time. The limits themselves change rarely.
Signing in is what lets the tool remember what you built and what you found hard. One challenge is free to try without an account.