Grouphug - Clustering with an evil twist!
How it works
The most important concept in grouphug is the events. Everything else is essentially just filling in the logical gaps in the requirements.

At a simple level, Events in Grouphug work by watching a file and taking action on new lines as they appear. This is our listener. Then to trigger an event, we simply add new lines to that file to tell the listener what to do. Here's a really basic example that assumes you are running bash:

 touch /tmp/eventexample
while read in;do
echo recieved command $in
$in
done < <(tail -F /tmp/eventexample)
Then we just issue commands from anywhere that can access that file:
 echo cat /etc/hosts>>/tmp/eventexample 
And this is what it looks like:
Screen shot of example
This also presents some other really interesting possiblities that are not relevant for discussion here.

Are you ready to try it?

© Copyright Kevin Sandom 2008
SourceForge.net Logo