50

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?

I think that the "97.2%, please 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 a 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.

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.

Jeff Schaller
  • 2,352
  • 5
  • 23
  • 38
OutOfBound
  • 1,120
  • 3
  • 19
  • 25

6 Answers6

33

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..

dbr
  • 165,801
  • 69
  • 278
  • 343
5

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

Community
  • 1
  • 1
4ndy
  • 51
  • 1
  • 1
  • 2
    you forgot 4 - the regular internet becomes so heavily regulated that the consumers and developers can no longer interact without either/both jumping through stringent (and probably expensive) regulatory hoops. – mulllhausen Jul 15 '13 at 04:39
  • 1
    p2pint.darkbb.com doesn't work – knocte Sep 21 '13 at 16:26
4

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.
Paul Alexander
  • 31,970
  • 14
  • 96
  • 151
  • 4
    In the Freenet world, it's nearly impossible for somebody else to get access to your data unless you explicitly give them access to it. Without your authorization, people would need to be able to break DES 256 in order to get to your data and if they can do that, then I hardly doubt that they'll be going after *your* data, but something more *lucrative*. – Kiril Feb 18 '12 at 22:43
3

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.

Taryn
  • 242,637
  • 56
  • 362
  • 405
eleven81
  • 6,301
  • 11
  • 37
  • 48
  • 2
    The beauty of the decentralized setup is that you could guarantee 100% uptime using a much smaller webhost than the centralized model, so your site is always online but your visitors handle most of your bandwidth for you. – Maximillian Laumeister Jul 12 '15 at 16:29
3

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?

Luke Woodward
  • 63,336
  • 16
  • 89
  • 104
  • 14
    Well, you can't. But, is it salesman's guilt, if you drink and drive after shopping in his store? – TBH Dec 08 '10 at 14:42
0

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

matt b
  • 138,234
  • 66
  • 282
  • 345
  • 1
    Well, the benefit is unlimited anonymous storage- people actually pay a lot for that kind of thing. And they pay a LOT of cash, not just bandwidth or disk space. – Kiril Feb 18 '12 at 22:36
  • Most home connection are flat subscriptions that do not have a monthly bandwidth limit, so the additional cost is zero. – beppe9000 Jul 07 '16 at 00:06
  • One benefit is community driven services that are impossible to shutdown without a ban on the software (hard to police). However it can also be used by bad communities to host horrific content – AlexMorley-Finch Jul 05 '22 at 11:49