Answer the question
In order to leave comments, you need to log in
How to properly form the infrastructure for a project with online movie viewing?
Good evening!
Now we are developing a film festival project, which will show films online.
The question of infrastructure became how to ensure a normal user experience so that this process goes as painlessly as possible for both developers and users who will watch movies.
We used https://flowplayer.com/ with their movie hosting on the project. It performed well enough, but there was one problem at the end.
It is expected that there will be approximately 500-800 views per day on the project, during the week when this festival takes place. The traffic limit in flowplayer is 600GB. Taking into account the fact that the average weight of a movie is 2GB, it turns out that about 1TB of traffic will go per day, and, accordingly, you will have to pay an average of $100-150 extra per day for traffic.
What is beyond the budget of the project.
Accordingly, the question arose of how to optimize this process by hosting the files somewhere on another server.
The very first thing we tried was to simply upload the files to our server, without any additional preparation. In general, it works, but it runs into bandwidth limits. About 15-20 simultaneous views clog the entire channel.
Then we tried to use CDN, which in general gave a slight increase - but globally it did not get much better ...
And now, in fact, I understand that we are moving along some strange path and some more optimal solutions can be found. Actually tell me where to dig in order to make a project that can withstand such a load, not to reinvent the wheel.
ps All content is licensed
Answer the question
In order to leave comments, you need to log in
take cheap gigabit servers and don't worry. if one is not enough, then buy several and distribute the load.
Cheap gigabit can be taken in hetzner https://ru.hetzner.com/hosting/produkte_rootserver...
50 euros per gigabit is the norm.
Here https://orders.fdcservers.net/order/plan/820 you can buy vps with 10 Gbit channel for $200.
Also there is a variation just to work with cdn.
https://www.fdcservers.net/cdn here a terabyte costs 5 dollars, that is, approximately 350-400 rubles
There is another cdn, Russian https://mnogobyte.ru/cdn.html takes 250 rubles per terabyte.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question