Sunday, September 30, 2007

P2P Web

What if you could just host your site from your laptop?
You just have to register your name and thats it. You don't have to buy any server space or public IP.
You got the difference between current web and this idea?

The basic thing you will need is:
1. An Apache Kind of server
2. A P2P plugin to Apache
3. A P2P plugin to firefox

a single application combining all three.

What are the benefits?
1. Dont have to buy a server space or Public IP
Since the content will be served directly from your drive, you dont have to run around buying a server space and uploading the content.

2. If you have to share the files with nearby friends (in your office, school), it will be faster because it will be using the Peer-to-Peer network.

3. The supply increases with demand.
Since every person who is downloading a file becomes supplier of the file, any file which is in demand will be faster as opposite to the current system where most of the companies will fail to handle the load.

4. Copyright crap will not bother
Since no one knows the actual identity of a person, no one can sue you just for sharing some lovely song with your friend.

If you havent looked at eMule, have a look.

She first downloads a plugin for her browser. Now, opens up a website called "p2p://poople/". It opens up the home page (it might be a list of files) of poople. Now, she clicks on a links and it starts downloading it from all the sources available. The similar sources are decided based on the hash (signature) of the file.
Now, this file which she is downloading (or downloaded) can also be served to other people.
Thats it!

1. Firefox might not suport p2p so, we might have to write a separate browser having the same rendering engine as firefox so that the whole presentation can be done using same technologies (HTML/CSS/Javascript)
2. The firewall might be a big problem.
This can be handles using the same mechanism as skype is handling.

Your comments are welcome!

You may say I'm a dreamer
But I'm not the only one
I hope someday you'll join us
And the world will be as one


Abhimanyu said...


See the following link for P2P plugin to firefox:

Alpha0 said...

cool! lemme check it.