From: ajay paswan Date: 2012-09-03T20:41:20+09:00 Subject: Re: working on multiple machines in a LAN Brian Candler wrote in post #1073771: > ajay paswan wrote in post #1073756: >> I have a program, now I want this to be run on multiple computers >> individually. >> Among them one computer (say boss) will distribute inputs to other >> computers (say followers) and itself in a LAN. The boss will also >> collect outputs from followers. Whenever a follower (including boss) >> finishes its task, it acknowledges to the boss, and boss gives the next >> input to that machine. >> >> How can it be done? > > If you want to do this entirely in ruby, have a look at resque. The boss > can queue up jobs (they actually go in a redis database) and the workers > can do work. They can post their results back into redis or into a > shared filesystem or whatever you choose. > https://github.com/defunkt/resque > Can we guarantee that we use all machine whenever it gets free? and same task should not run more than once? What about: starfish (http://rufy.com/starfish/doc/)? What if I use simple socket programming? I mean a chat server will help distribute the works? Watirgrid? it needs watir which is only for windows.. so cant use.. as I need it to be run both on windows and linux. What if I use: http://celeryproject.org/ and https://github.com/leapfrogdevelopment/rcelery How will we compare above technologies for my purpose? in terms of ease of implementation, scalable, efficient? -- Posted via http://www.ruby-forum.com/.