From: Charles Oliver Nutter Date: 2010-01-22T17:42:31+09:00 Subject: Re: Threads or Fibers - which should I use? On Fri, Jan 22, 2010 at 2:23 AM, Robert Klemme wrote: > In your case I would start with threads because they are simpler to > use.  Fibers are really a means of cooperative multitasking and as > such have considerably higher programming overhead.  Also, either you > have one thread per Fiber or you will not be able to leverage the full > CPU power if you port your app to a Ruby version (say JRuby) which > supports native threads. It's worth mentioning that on JRuby, we have to use native threads to implement Fibers, so they're not actually lightweight. They're more like cooperatively-scheduled child threads. I'd recommend threads as well if the intent is to actually have parallel execution. - Charlie