Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Freenet is a P2P storage and also allows to serve web content. But those are just static files. Is there any P2P web server that runs some web applications server side code? Perhaps one similar to AppScale but P2P?

share|improve this question
    
You want to allow others to deploy and execute arbitrary code on your machine? Are you serious? –  Daniel Beck Jun 13 '11 at 17:40
    
@Beck That's what Google App Engine is. With proper sandboxing it's safe. It's not arbitrary code, most OS methods are disabled. –  Jader Dias Jun 13 '11 at 17:53
1  
The problem is not about code trustworthiness, it's more about machine trustworthiness -- it's easy to digitally sign static data and let the viewer verify it (Freenet URIs include the public key), but how would you know if one of the machines is making "adjustments" to code it executes? You can't sign the output; if you could, then you might as well upload static pages. –  grawity Jun 13 '11 at 18:32
    
@grawity Good point! You can either upload apps that nobody would want to mess with and if they did the harm would be minimal, or you could develop a verification scheme where the code is executed in more than one place. –  Jader Dias Jun 13 '11 at 18:38

3 Answers 3

up vote 1 down vote accepted

It's not exactly what you are looking for, but maybe this will advance your quest http://www.osiris-sps.org/

share|improve this answer

How about node?

http://antimatter15.com/wp/2010/08/bittorrent-in-javascript-with-node/

https://github.com/search?q=node+p2p&type=Everything&repo=&langOverride=&start_value=1

share|improve this answer
    
What's P2P about this? –  Jader Dias Jun 16 '11 at 13:47
    
There's a few projects on the go apparently, I did a quick google search, having recently discovered Node.js. Added some links into my answer. –  Danjah Jun 19 '11 at 9:08
    
Your answer points to code (P2P apps) running on a traditional infrastructure. What I seek is a way of running code on a P2P infrastructure. –  Jader Dias Jun 20 '11 at 13:42

When you ask for a server, there is a reference to Client/Server architecture.

So in the context of a real P2P architecture which is a different approach, quick answer : No.

So now the quite not so long answer :

You can have a dstributed approach like what we can see with SCM : There is for example wiki system in real P2P system, but they aren't as easy to use of what we generally because of the main challenge that, trust and authentication management.

If you want some keywords to help you in your ggogle research : freenet freewiki.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.