Why is p2p web hosting not widely used?

HostingP2p

Hosting Problem Overview


We can see the growth of systems using peer to peer principles. But there is an area where peer to peer is not (yet) widely used: web hosting.

Several projects are already launched, but there is no big solution which would permit users to use and to contribute to a peer to peer webhosting.

I don't mean not-open projects (like Google Web Hosting, which use Google resources, not users'), but open projects, where each user contribute to the hosting of the global web hosting by letting its resources (cpu, bandwidth) be available.

I can think of several assets of such systems:

  • automatic load balancing
  • better locality
  • no storage limits
  • free

So, why such a system is not yet widely used ?

Edit

I think that the "97.2%, plz seed!!" problem occurs because all users do not seed all the files. But if a system where all users equally contribute to all the content is built, this problem does not occur any more. Peer to peer storage systems (like Wuala) are reliable, thanks to that.

The problem of proprietary code is pertinent, as well of the fact that an user might not know which content (possibly "bad") he is hosting.

I add another problem: the latency which may be higher than with a dedicated server.

Edit 2

The confidentiality of code and data can be achieved by encryption. For example, with Wuala, all files are encrypted, and I think there is no known security breach in this system (but I might be wrong).

It's true that seeders would not have many benefits, or few. But it would prevent people from being dependent of web hosting companies. And such a decentralized way to host websites is closer of the original idea of the internet, I think.

Hosting Solutions


Solution 1 - Hosting

This is what Freenet basically is,

> Freenet is free software which lets you publish and obtain information on the Internet without fear of censorship. To achieve this freedom, the network is entirely decentralized and publishers and consumers of information are anonymous. Without anonymity there can never be true freedom of speech, and without decentralization the network will be vulnerable to attack. > > [...] > > Users contribute to the network by giving bandwidth and a portion of their hard drive (called the "data store") for storing files. Unlike other peer-to-peer file sharing networks, Freenet does not let the user control what is stored in the data store. Instead, files are kept or deleted depending on how popular they are, with the least popular being discarded to make way for newer or more popular content. Files in the data store are encrypted to reduce the likelihood of prosecution by persons wishing to censor Freenet content.

The biggest problem is that it's slow. Both in transfer speed and (mainly) latency.. Even if you can get lots of people with decent upload throughput, it'll still never be as quick a dedicated servers or two.. The speed is fine for what Freenet is (publishing data without fear of censorship), but not for hosting your website..

A bigger problem is the content has to be static files, which rules out it's use for a majority of high-traffic websites.. To serve dynamic data each peer would have to execute code (scary), and would probably have to retrieve data from a database (which would be another big delay, again because of the latency)

I think "cloud computing" is about as close to P2P web-hosting as we'll see for the time being..

Solution 2 - Hosting

P2P website hosting is not yet widely used, because the companion technology allowing higher upstream rates for individual clients is not yet widely used, and this is something I want to look into*.

What is needed for this is called Wireless Mesh Networking, which should allow the average user to utilise the full upstream speed that their router is capable of, rather than just whatever some profiteering ISP rations out to them, while they relay information between other routers so that it eventually reaches its target.

In order to host a website P2P, a sort of combination of technology is required between wireless mesh communication, multiple-redundancy RAID storage, torrent sharing, and some kind of encryption key hierarchy that allows various users different abilities to change the data that is being transmitted, allowing something dynamic such as a forum to be hosted. The system would have to be self-updating to incorporate the latter, probably by time-stamping all distributed data packets.

There may be other possible catalysts that would cause the widespread use of p2p hosting, but I think anything that returns the physical architecture of hardware actually wiring up the internet back to its original theory of web communication is a good candidate.

Of course as always, the main reason this has not been implemented yet is because there is little or no money in it. The idea will be picked up much faster if either:

  1. Someone finds a way to largely corrupt it towards consumerism

  2. Router manufacturers realise there is a large demand for WiMesh-ready routers

  3. There is a global paradigm shift away from the profit motive and towards creating things only to benefit all of humanity by creating abundance and striving for optimum efficiency

*see p2pint dot darkbb dot com if you're interested in developing this concept

Solution 3 - Hosting

For our business I can think of 2 reasons not to use peer hosting:

  1. Responsiveness. Peer hosted solutions are often reliable because of the massive number of shared resources, but they are also nutoriously unstable. So the browsing experience will be intermittent.
  2. Proprietary data/code. If I've written custom logic for my site I don't want everyone on the network having access. You also run into privacy issues with customer data.

Solution 4 - Hosting

How many times have you seen "97.2%, please seed!!" for any random torrent?

Just imagine the havoc if even a small portion of the web became unavailable in this way.

Solution 5 - Hosting

If I were to donate some of my PCs CPU and bandwidth to some p2p web hosting service, how could I be sure that it wouldn't end up being used to serve child porn or other similarly disgusting content?

Solution 6 - Hosting

It sounds like this idea would add a lot of cost to the individual seeder (bandwidth) without a lot of benefit.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionOutOfBoundView Question on Stackoverflow
Solution 1 - HostingdbrView Answer on Stackoverflow
Solution 2 - Hosting4ndyView Answer on Stackoverflow
Solution 3 - HostingPaul AlexanderView Answer on Stackoverflow
Solution 4 - Hostingeleven81View Answer on Stackoverflow
Solution 5 - HostingLuke WoodwardView Answer on Stackoverflow
Solution 6 - Hostingmatt bView Answer on Stackoverflow