Thursday, November 09, 2006

Ruby Starfish - Easy Distributed Computing

Today gave a try to starfish, (relatively) easy set up of distributed client and server, so if you are planning no taking on Google with the motto of "Do Only Evil", this is the easiest way to distribute the computation on your redundant array of commodity hardware.
Anyway, on ubuntu ran no problem right out of box(as long as you have active-record gem installed), but some problems on windows as usual.
Simple fix to win32-process.rb 0.5.1 fixes the problem, just find the line
Win32::Process
and change it to just
Process
on my machine that file could be found at
c:/ruby/lib/ruby/gems/1.8/gems/starfish-1.2.0/lib/starfish.rb
now sample starfish foo.rb app should run fine.
If other gems are missing etc, just install them of course.