Monday, December 8th, 2008
Massively parallel crowd sourced JavaScript app server; SETI for JS
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.












This post could have been the final touch to start Skynet’s life. Instead it ran the App-Engine-Account over quota :)
I asked Google to increase the quota and it looks like the problems are solved.
Thanks.
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!!