internalsGet Pro

System Design · Module 19

Media uploads, streaming and file sync

Lessons
13
Free
0
Reading
~5 h

Your progress

0 / 13 lessons done

Sign in to track

Lessons

  1. Direct uploads to object storageProduct photos and attachments can consume application bandwidth without doing application work. Direct uploads remove that traffic, but require explicit rules for authorization, validation and publication.18 min
  2. Large file uploads: signed URLs and multipartLarge uploads fail across several requests and systems. You need to preserve progress without accepting incomplete files, leaking upload permissions or leaving paid storage behind.20 min
  3. Image processing: resizing and CDN deliveryProduct images can dominate a page’s download size. Processing them outside the request path keeps browsing fast without making image replacements or worker failures unsafe.19 min
  4. Profile image service: storage and deliveryProfile images combine untrusted uploads, background processing and heavily cached reads. The difficult part is making replacement predictable without sending every image request through your application.18 min
  5. Video transcoding: converting uploads into multiple formatsVideo processing combines expensive computation with unreliable inputs and asynchronous completion. You need to control both media quality and job execution before an uploaded file becomes safe to serve.19 min
  6. Adaptive bitrate streaming: quality that adapts to the networkVideo can download successfully and still pause repeatedly. Understanding the player’s decisions helps you diagnose playback failures that server availability metrics cannot explain.19 min
  7. Video security: signed URLs and DRMPaid video needs more than a login page. You must protect every media request, preserve caching, and understand what an authorized viewer can still copy.19 min
  8. Live streaming: protocols and latencyLive video can arrive quickly over the network and still play far behind the event. Engineers must manage delay across encoding, publication, caching and playback without making weak connections unusable.19 min
  9. File synchronization: keeping devices in syncDesktop folders, offline apps and shared asset libraries all need to reconcile independent changes. Correct synchronization must preserve user work even when devices disconnect, retry or disagree.20 min
  10. Chunking and deduplication: syncing only changed dataSync clients and backup tools often transfer large files after small edits. Chunking reduces that traffic, but introduces shared data whose integrity, ownership and lifetime need explicit rules.20 min
  11. File versioning and metadataShared files need more than an upload endpoint. Engineers must preserve history, resolve competing updates and explain exactly what users can recover.20 min
  12. Design: a video platform like YouTubeVideo platforms combine large transfers, expensive background work and latency-sensitive playback. The difficult boundary is deciding when uploaded bytes become safe, complete, playable content.30 min
  13. Design: a file sync service like DropboxSync connects a transactional server to devices that disappear, retry and change files independently. The same problems appear in offline apps, document tools and deployment agents.30 min

Practise with

Terms this module teaches 37

Open glossary

Adaptive bitrate streaming

A playback technique that changes the encoded bitrate selected for future media downloads as network and playback conditions change.