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 sports app streams ball-by-ball scores for international cricket. During a big match twenty million fans have the scorecard open and the app asks for the latest score every few seconds, so the same few match items in DynamoDB are read hundreds of thousands of times a second. Scorers post each ball through the same API, and fans should see it within about two seconds. The table already holds every match, and the team does not want to change its data model or application queries, but reads for one match are hitting the limits of a single partition and the bill is climbing. Responses that are a second or two old are perfectly acceptable.
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.