Loading…
While this loads — quick one
Every subscriber must get each event. A queue, or pub/sub?
Loading…
While this loads — quick one
Every subscriber must get each event. A queue, or pub/sub?
Loading the challenge…
While this loads — quick one
Every subscriber must get each event. A queue, or pub/sub?
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.
Every system design question opens with an account. Your design is scored the same way every time, with the reason behind each requirement, and your attempts are kept so you can see what you found hard.