From: James Edward Gray II Date: 2007-09-26T11:58:08+09:00 Subject: Re: Ruby Scales just fine ! On Sep 25, 2007, at 8:24 PM, Ari Brown wrote: > > On Sep 25, 2007, at 8:38 PM, Yukihiro Matsumoto wrote: > >> Hi, >> >> In message "Re: Ruby Scales just fine !" >> on Wed, 26 Sep 2007 09:28:36 +0900, Ari Brown >> writes: >> >> |Soo........ Ruby DOES use multiple cores? I read somewhere that it >> |didn't (probably this thread). >> >> Single Ruby process does not. But we can use as much cores we >> have by >> forking processes, and usually it's the case for web applications. > > So fork() moves to a new processor if there is one, else a new thread? fork() creates another process which your schedular is free to handle as it sees best. This may mean running that process on a different CPU, if the schedular decides that's the way to go. James Edward Gray II