WatchItDev / watchit-app

Open movies everywhere
https://watchit.movie
GNU Affero General Public License v3.0
338 stars 35 forks source link

perf: connectivity performance improvement #172

Closed geolffreym closed 4 months ago

geolffreym commented 1 year ago

We have a problem of interoperability between web <=> desktop. Since web cannot connect direct with TCP some extra "proxy steps" are needed to achieve interoperability between both envs in the current approach. We can favor interoperability using exclusive js-ipfs (waiting for orbit to support helia)

bennukem commented 1 year ago

These proxy steps are already well know ? I can't find what needed ?

geolffreym commented 1 year ago

Currently our proxy (eg. nginx) opens a websocket connection and redirects wss:// connections coming from the web environments, to an IPFS node, this node is connected to an orbitdb instance that keeps a copy of the metadata "pinned". Let's say it's something like a kind of mirroring, which we think is centralized and doesn't scale.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.