# Use WebTorrent to load media objects

**URL:** <https://meta.discourse.org/t/use-webtorrent-to-load-media-objects/155873>\
**Category:** Feature\
**Created:** [25 juni 2020 om 02:20 UTC](https://meta.discourse.org/t/use-webtorrent-to-load-media-objects/155873 "2020-06-25T02:20:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![marianord](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marianord/32/90502_2.png) [@marianord](https://meta.discourse.org/u/marianord)\
**Post date:** [25 juni 2020 om 20:24 UTC](https://meta.discourse.org/t/use-webtorrent-to-load-media-objects/155873/6 "2020-06-25T20:24:01Z")

</div>

I’m almost sure that it would cost you more than _anything_, you would need to setup a P2P network using the Discourse server (or a seedbox) as the _source of truth_ or main seeder for all the media.

That seedbox would need to have enough resources to handle one new connection opened by each request as each media file would be a different _torrent file_. I know WebRTC is pretty good and efficient, but opening a connection is usually the most resource intensive part of a web application.

Unless I’m missing something this would be a not trivial setup and resource intensive one for really active communities.

---

_[View the full topic](https://meta.discourse.org/t/use-webtorrent-to-load-media-objects/155873)._
