On 27/08/2010 18:51, Wesley Acheson wrote:
> I think the reason for doing this in ruby is that ruby is single
> threaded, I've been told. The JVM isn't.

I'm raising an eyebrow.

> This is of course muddied with Jruby.
> 
>  
> http://stackoverflow.com/questions/3086467/confused-are-languages-like-python-ruby-single-threaded-unlike-say-java-for
> 
> Anyway I don't see any reason you should need to install two
> instances. I believe that they'll both end up running in the same JVM
> also but again could be wrong.

 [ ]  Correct
 [x]  Incorrect

Not unless you deliberately configure two Service instances in
server.xml.  Which would be unusual & probably self-defeating, if the
goal was separate JVMs.


p

> On Fri, Aug 27, 2010 at 6:57 PM, S Ahmed <sahmed1...@gmail.com> wrote:
>> Hi,
>>
>> If you have a server with 15 GB of ram (or any large number for arguments
>> sake), does it ever make sense to run multiple instances of tomcat on the
>> same server?  (serving http requests for the same web application)
>>
>> Or can a single instance utilize all the server resources just
>> fine efficiently?
>>
>>
>> The reason I am asking is that I have read that those hosting ruby on rails,
>> or python web applications usually run multiple instances of their
>> respective web server, each running on its own port, and then proxied using
>> haproxy or the like.
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to