How are videos stored on a web server these days?

I am creating a web application that should store some resources, including but not limited to articles, images and videos. My question here is how videos (mp4 / ogg) are stored on a web server? as a bare file or as binary files in relational or nosql db?

+4
source share
3 answers

The question for BLOB data almost always comes down to "non-BLOB data." There is very little time to make sense to write a database connector for your data, and then just store it on disk.

The general trend is to use an established service that uses good design patterns, such as “Clip for rubies,” and tailor it to your needs.

Using an external storage service is also a good idea, for example Amazon S3 will save all your data for pennies per dollar per gigabyte, and they will do just fine with it.

If you decide to prepare your own server that processes data domestically, can I recommend a digital ocean ? I was very pleased with the SSD servers I installed there (which are very fast).

For video, you will almost certainly need a web server capable of streaming. I think Nginx has this feature.

+3

, , . .

, , :

1- , , ?
2- , , ?
3- , ? ?

, . , , , ( , , ..) . .

, .

+2

AWS S3. S3 - , , Nginx S3, : fooobar.com/questions/423997/...

0

Source: https://habr.com/ru/post/1531088/


All Articles