Leonardo Borges wrote:
> Hi Kuros,
> One thing that could certainly help is moving to a apache/nginx +
> passenger setup. That would improve your memory usage.
> 
> But keep in mind that if you rely on ruby threads on your application,
> ruby won't take advantage of your QuadCore processor. Only if you
> spawn multiple processes. But again, this depends on your application
> and how it works.
> 
> That being said, I wrote a post a whlie ago explaining a bit how ruby
> handles threads (in 1.8, 1.9 and in jruby). It might be useful as
> well.
> 
> Cheers,
> Leonardo Borges
> www.leonardoborges.com
> 
> On Jul 2, 10:34�am, Kuros Yalpani <[email protected]>

well, I think it is unclear exactly how Quadcore distributes, on the one 
hand, in Wikipedia, it is defined as Hyperthreading, with the 
explanation that there are several virtual processors (which would 
satisfy my requirements) but at the same time, wikipedia defines 
Hyperthreading as SMT (simultaneous Multithreading) and if you follow 
that link, SMT is described as supporting several parallel THREADS 
(implying that all within the same process). In case of the latter, I 
guess a Quadcore setup with out of the box rails wouldn't really help. 
You suggest BTW apache/nginx, which I never used before, any ideas on 
how mongrail behaves under load?

thanks

Kuros
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to