Question bank

No. 43 · Client & library design

Design a file downloader library

Advanced40 minClient design · API design · Concurrency control · Back-pressure · Idempotency · Data modeling

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough reading

At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.

  1. Mobile System Design Exercise: File Downloader Library (iOS & Android)

    weeeBox/mobile-system-design (GitHub) · Alex LementuevArticleFull walkthroughFreeVetted

    Full mobile-focused walkthrough: public API, download dispatcher and queue, persistence for resume, integrity checks, foreground vs background downloads and disk space concerns. Written for iOS and Android, so server-side details are out of scope.

    Link checked 2026-12-06

  2. Design a File Downloader: Mobile System Design Interview

    Alexey Glukharev (YouTube)VideoFull walkthroughFreeVetted

    Slide-based video by an Android engineer covering pause, resume, priorities and chunked downloads in the mobile interview format. Overlaps with the written exercise; good for hearing the flow aloud.

    Link checked 2026-12-06

  3. HTTP range requests

    MDN Web DocsDocsBackgroundFreeVetted

    The HTTP mechanics behind resume and parallel chunks: Accept-Ranges, Range, 206 responses and If-Range to detect a changed file. Protocol only, no library design.

    Link checked 2026-12-06

  4. Downloading files in the background

    Apple Developer DocumentationDocsBackgroundFreeVetted

    Primary docs for downloads that outlive the app process on iOS, including session recreation after termination and system scheduling limits. Platform-specific but shows real constraints.

    Link checked 2026-12-06

  5. DownloadManager (API reference)

    Android DevelopersDocsBackgroundFreeVetted

    API reference for the system download service on Android: request options, status columns and completion broadcasts. Useful to compare against your own API; it is a reference page, not a guide.

    Link checked 2026-12-06

  6. Facebook System Design (Resource Downloader Library)

    LeetCode DiscussDiscussionInterview reportFreeVetted

    A candidate lists the follow-ups they got for this question at Meta: signatures, parallel sync and async downloads, failure modes, progress callbacks, cancellation and caching. Evidence of scope, not a solution.

    Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)

Report a bad or misleading link

Reference audit: 2 of 2 links from the audited catalog kept

Every recommended link was kept.

We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.

COMPANY EVIDENCE · NOT A FREQUENCY CLAIM

Where it has been reported

Candidate reports

Report or add attribution evidence · How we label evidence

KEEP GOING

Related questions