From: Pito Salas Date: 2009-08-23T06:02:32+09:00 Subject: Re: Process or Thread? Gary Wright wrote: > For a CPU intensive task (image processing), i doubt that two OS > threads running on two core's is going to be any more efficient > than two processes running on two cores. Multi-threading introduces > complications that are neatly avoided by using multiple processes. > I'd much rather deal with a multi-process architecture than a > multi-threaded architecture. > > Gary Wright Thanks all for your responses. A note: he files being processed are quite large and numerous. So there's also plenty of file IO that has to happen. In the vanilla 'green thread' case, would you expect performance improvements, because while one thread was blocked for IO the other one could run? Thanks again, Pito -- Posted via http://www.ruby-forum.com/.