webtorrent / webtorrent

⚡️ Streaming torrent client for the web

Home Page:https://webtorrent.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

High availability of servers

huazaihuola opened this issue · comments

Hello everyone,

I'm currently developing a Twitter-like website, but after careful consideration the costs seem very high. Yes, I remembered this exciting technology I saw a few years ago.

I want my images and videos to be transmitted via WebRTC, which reduces reliance on my server bandwidth and cuts huge costs.

But the problem before me is: how to ensure high availability? Because when a user seeds to my site, what I get is seed info. If that user goes offline, can I still get the file?

So I had an idea: can I set up a seed download client myself? After a user uploads a resource, I first download it to my local machine via the seed. Then, even if the user closes their browser, other users can still download the resource from me.

This ensures high availability while reducing business costs, and I can make use of some of my outdated computers.

What do you think about this approach? Or are there any other solutions we could discuss together?

In summary, from a business perspective, should we increase a dedicated server for downloading content to improve high availability? Of course, there are commercial P2P CDNs available on the market now, but those come at a cost.

Thank you all for your contributions, the technology here is amazing.

hello?