A while ago I wrote a technical article about setting up your own instances of LBRY servers, it doesn’t directly answer your question, but it gives a rough overview of all the components LBRY uses. For reference here’s a chart from the article:
Each of these components can be set up by anyone on their own computer, but the decentralization comes in mostly at the “LBRY Wallet Server” and “lbrycrd” points.
- When I upload a video the video literally is getting uploaded to somewhere. It isn’t being hosted on my computer. So where is the initial upload and processing happening and how is that not centralized?
If you’re using the desktop app, it is actually both hosted on your computer, and uploaded to LBRY servers. The desktop app has a built-in local instance of the lbrynet server, which is connected to two parallel P2P networks
- The LBRY blockchain, via the Wallet Server and lbrycrd server.
- A BitTorrent-like content exchange network (not shown on the chart)
The desktop app can be configured to use custom Wallet Server, and in this case the only way Odysee even sees the uploaded content is through P2P, rather than via a direct upload when you do it through the website or the default Wallet Servers.
- It has been explained that the blockchain is what is storing the information on the video and where it can be found, however, I don’t see how that would work on a pier to pier network. ie: the location is changing every second. So how exactly does the pier to pier part of this solution work with relation to the blockchain.
The blockchain is only used for indexing metadata. Stuff like channel names, video titles, and most importantly regarding your question - the content hash. Like I mentioned above, there’s a BitTorrent-like network running parallel to the blockchain, once you have the content hash you can query other peers for who you can download the content from.