What is it ?
The Big Kahuna is a framework to implement a distributed solver which works over http. The worker nodes are made up of browsers serving a simple html page. The server delegates the work(JSON objects) to clients via ajax and the clients compute the result and return it back to the server. As a developer using this framework all you need to do is to write javascript functions that perform the actual computation. The architecture is designed to solve Map - Reduce problems but can be tweaked to suit individual requirements.
Quick Start Architecture of the Big Kahuna Data formats Downloads SVN Report a Bug
Getting started with Kahuna
Technology
Server side : J2EE
Client side : Javascript
Data format : JSON objects
Quick Start
- Either download the kahuna framework or check out the latest stable release from SVN
- Deploy it on your favorite J2EE web server. We have tested it for Resin and Tomcat, the others should be fairly suitable to run kahuna as well.
- The data that needs to be computed needs to present in the intermediate_directory folder in the web context. Make sure the data is in the JSON format and for best performance use a small datasize typically under 100kb. Its alright to have lots of data input files in the intermediate_directory.
- Open the blah.js file, locate the TODO portion. Write your code in UserMap and UserReduce functions. Inputs and Outputs will be mentioned in the js file itself ,make sure to use those. (tip : make sure that your output is smaller than 4kb, if it isn't then use the breakup function to split the send )
- Embed the script inside embed.js function in your html page.
- Open the Kahuna Administration page and start the workflow to see the computation happening.
Downloads
Use Eclipse to open project files. Netbeans users use the Eclipse Project Importer addon to Netbeans
Release 1.0
You can download the version from here or its mirror .
Release SVN path : check SVN details to check out the code. Path to the latest release is \blah\blah
SVN
You can checkout from Kahuna's SVN anonymously . The SVN path is - http://svn2.assembla.com/svn/kahuna
If you are looking for a SVN client try using Subclipse for Eclipse, works best with Eclipse. Windows users can use TortoiseSVN, Mac Users can use svnX and linux users please use RapidSVN or QSvn.
Report a Bug
Please feel free to log a bug in our TRAC system so that we can improve Kahuna for you. Our Trac can be found here http://trac2.assembla.com/kahuna
Comments (0)
You don't have permission to comment on this page.