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 team is building a paste-sharing tool. A user submits a block of text — anything from a few lines to a large log file of several megabytes — and gets back a link that others can open to read it, unchanged. Each paste needs its own identifier that cannot be guessed or stepped through in sequence, so one paste's link never reveals another's. Pastes are written once and never edited, are read far more often than they are written, and most traffic lands on a small number of popular pastes. Storing many large text blobs cheaply matters, and the tool should stay fast when a paste goes viral.
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.