Monday, December 8th, 2008

Massively parallel crowd sourced JavaScript app server; SETI for JS

Category: JavaScript, Server

<>p>Malte Ubl is having a lot of fun here :) He has created a “massively parallel crowd-sourced JavaScript app server cloud” a.k.a. SETI for running JavaScript code.

This is how it works:

  • When a user makes a request to the site
  • …the request is handled by a Google App Engine application
  • …that puts the request into a request queue
  • Meanwhile on another computer that runs the JavaScript app server within a Gears worker within the browser
  • …a comet-client maintains a pseudo permanent connection to the App Engine app
  • …looks into the request queue and starts to process the request
  • …when it is finished it sends the response to the App Engine app
  • …which immediately send the request back to the client that originated the request in the first place.

Now he just needs to wrap it in a screen saver, so your machine can be acting as a service endpoint while you are not using the cycles. Wow ;)

Run the client and become a server.

Related Content:

Posted by Dion Almaer at 5:56 am
3 Comments

++++-
4.1 rating from 18 votes

3 Comments »

Comments feed TrackBack URI

This post could have been the final touch to start Skynet’s life. Instead it ran the App-Engine-Account over quota :)

Comment by Malde — December 8, 2008

I asked Google to increase the quota and it looks like the problems are solved.
Thanks.

Comment by Malde — December 8, 2008

We are building something very similar to this but using free software and also simple to implement, especially on shared hosting environments. We call it Big Kahuna and will be releasing shortly. Will definitely inform Ajaxian about it. Ajaxian is one of the inspirations!!

Comment by itsmeritesh — December 13, 2008

Leave a comment

You must be logged in to post a comment.