AlgoViz

How Large Uploads Work

easy 38 min

A large file goes up in small numbered pieces.

What each level should show

The same question is judged differently for mid, senior and staff.

  • Mid

    Must show

    • Cuts into pieces and computes offsets
    • Names upload ID and server offset
    • Sends again after a break

    Will be probed on

    • Lost request or lost reply
    • Closed tab

    Stands out

    Says that the client cannot know, and that it does not need to.

  • Senior

    Must show

    • Offset rule with compare and set
    • Store, count, reply in that order
    • Checksums, atomic finish, expiry

    Will be probed on

    • Two tabs
    • A late duplicate
    • Parallel parts and what changes

    Stands out

    Compares Dropbox, tus, S3 and range style correctly and gives the cost of a retry in seconds.

  • Staff

    Must show

    • Direct to storage with limits
    • Old clients and changing piece sizes
    • Cost of abandoned data and measures of success

    Will be probed on

    • Regions and session location
    • Abuse
    • Battery and background rules on phones

    Stands out

    Treats the client as half of the system and shows which measure would reveal a bad piece size.