3 ms·
> The interesting part of tiktok to me is how they scale video storage and then how it gets back to the user so fast. Isn't that problem solved by the network
by amelius 4y ago
> The interesting part of tiktok to me is how they scale video storage and then how it gets back to the user so fast.
Isn't that problem solved by the network (CDNs etc)?
- Cyph0n 4y agoCDNs are designed to easily handle relatively static content (e.g., Netflix-like streaming services). Scaling user-generated video serving is a much more challenging problem.
- amelius 4y agoI bet most tiktok videos can be categorized into a few classes and all users just watch the videos in one of those classes. So basically, it is very much like Netflix. Also, the videos are much shorter.
- withinboredom 4y agoYou need to process the video before that, as not every phone/browser has the right codecs to stream from every other phone. Then you need to ship that to POPs and serve it. That’s some industrial strength bandwidth and computer power, not to mention the feature tagging the AI is doing to show the videos to the right audience.
- dannyw 4y agoTiktok videos are aggressively compressed; many are 1MB or less. A 8TB NVMe can fit 8 million videos.
- withinboredom 4y agoAre you telling me that the compression is done on the device? I would think very little compression would be done on-device and instead sent as-is, with the server doing the compression.