Comment

Comment by schott12521

I thoroughly appreciated this article as I've been building a short-form video content streaming service and the performance hasn't been what I expected.

Granted, I knew that my service needs to be able to scale at different bottlenecks, but a lot of "build your own video service!" tutorials start with:

- Build a backend, return a video file

- Build a frontend, embed the video

And that leaves a lot to be desired in terms of performance. I think the actual steps should be:

- Build a backend that consists of:

  - Video Ingestion service

  - Video Upload / Processing Service that saves the video into chunks

  - Build a streaming service that returns video chunks
- Build a frontend that consists of:

  - Build or use a video streaming library that can play video chunks as a stream
Edit: From the author's links, I found this website which is very informative: https://howvideo.works/
parent schott12521 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton