Urgent.News

What's breaking now, across thousands of outlets.

Tech

YouTube System Design: Upload, Transcoding, CDN & Video Streaming

YouTube System Design: From Video Upload to Global Playback A viewer presses Play. A few seconds later, video is streaming smoothly, even on a changing mobile network. That looks simple until you consider what happened before the first frame: a creator uploaded a large file over an unreliable connection; the platform validated it, transcoded it into compatible formats, published a consistent set…

Creating a YouTube-like video-sharing platform requires addressing two distinct system-design challenges: transforming uploads into usable assets, and delivering those assets to numerous viewers with minimal latency and cost. While the article outlines the architecture, it does not claim to be a replica of YouTube's internal system. It focuses on the process rather than the proprietary implementation.

The core system is divided into three primary domains: creation, control/metadata, and delivery. The upload process is resilient, allowing creators to upload large files even through unreliable connections. Once uploaded, videos undergo validation and are assigned a unique identifier. The platform then begins the transcoding process, converting the original file into various formats suitable for different devices and network conditions.

This stage also generates thumbnails and metadata, which are essential for discoverability and user experience.

Upon completion of transcoding, the system publishes the finalized video segments to a global content delivery network (CDN). The delivery tier ensures that videos are streamed at adaptive quality, adjusting to changing network conditions and device capabilities. This system supports both public and private video sharing, search functionality, and metadata management. It also keeps track of viewing events, updating the view count in an eventually consistent manner.

The architecture emphasizes durability and reliability, ensuring that uploads are safe from retries and that processing jobs are completed accurately. The control layer handles metadata updates, search indexing, and analytics, while the delivery layer utilizes CDN nodes to minimize latency and protect the origin servers. This separation of concerns allows each component to scale independently based on its specific workload, from bulk uploads to real-time playback demands.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Validate a list of 10,000 emails without SMTP for about $10

Before you import a lead list or send a campaign, you want to drop the junk: typos, fake domains, throwaway inboxes. Many verifiers do this by opening SMTP connections to each mail server, which is…

  • Email verification without SMTP costs $0.001 per email
  • Apify actor Email Verifier & Validator performs DNS checks
  • $10 covers verification of 10,000 emails

HisaabMate

How I Built It Architecture Primary Offline Fallback Paste Hinglish notes / Presets / .txt or text PDF Ingest & sanitize in Streamlit Extraction Engine Local Ollama API + gemma3:1b JSON Schema…

  • HisaabMate automates extraction of time logs from Hinglish notes offline.
  • Utilizes Google Gemma 3 model via Ollama for accurate Hinglish parsing.
  • Offers Streamlit UI with privacy-focused features and one-time pricing.

Our Phones Could Not Recognise Customers Whose Numbers Had Spaces in Them

When we moved our credit control team to a new telephone system, one of the features we were most pleased with was screen popping.

  • Credit control team faced issues with new telephone system.
  • Caller numbers stored in free text fields with various formats.
  • Lookup system failed to recognize numbers with a single space.

PracticePerfect - Improve your speaking skills locally

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle What I Built I sometimes start speaking before I’ve figured out how to organize what I want to say.

  • PracticePerfect is a local AI-powered speaking practice app
  • Users record responses, receive AI-generated feedback
  • Open-source architecture separates transcription and assessment

More from Monday 19 October →