Do the videos in the news APP be saved to your own server or belong to a third-party service provider?

now APP, which has made a news, has a video column, just like the video column in Tencent News"s APP, but a video may be dozens or hundreds of megabytes in size, and your server will be full soon. It is not realistic for a small APP to keep expanding its server, and it does not have that much bandwidth to play videos.
what do you do? do you put the video to third-party service providers, such as Tencent Cloud, Aliyun, and so on? they should be charged by traffic, right? if many people watch my video, won"t it take a long time for this video program to bankrupt me?
has no relevant experience, and I hope those who have done it can solve the puzzles. thank you.

Mar.29,2021

data can be hosted on other servers, using cloud storage, domestic Aliyun Seven Niuyun and so on, but after all, it still costs money


from an implementation point of view, my suggestion is to put it directly to a third party.
as for what you said, "too many people watch videos, are you bankrupt?" Here are two points you should make clear

  • do you want others to watch it, or do you not want people to see the video?
  • this question means worrying prematurely. It is similar to a small website that is online. In fact, if no one visits it at all, it will worry about high concurrency. What will the server do if it cannot handle it?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf0e97-31d3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf0e97-31d3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?