________________________________
From: Daniel Savard <daniel.sav...@gmail.com>
Sent: Friday, December 16, 2016 9:01 PM
To: Tomcat Users List
Subject: Re: How many instances Tomcat?

2016-12-16 14:48 GMT-05:00 Edwin Quijada <listas_quij...@hotmail.com>:

> Hi!
> I have 2 different projects in the same server. My server has 16GB Ram and
> 8 core so I am not sure if I need to up 2 instance of Tomcat or just one
> instace and Tomcat server both projects.
>
>
> What is the best configuration ? I have too ApacheWeb Sserver like proxy
> and SSL and virtual server.
>
>
> Any cluees or ideas? Pro and cons about each solution
>
>
> TIA
>
>
It depends on the application. On some of my servers, the application
provider recommend a limit on the number of concurrent connections per
instance. I am even not sure it is justified, however, since we get support
from this provider we have to conform to its directives. However, something
good about having more than one instance is you can shutdown the
application without interrupting the service.

For ressources consumption, you need to look at what your specific
applications need and what kind of workload you expect. Giving the amount
of RAM and the number of cores is useless. I run 9 instances of Tomcat on a
single server with 16 GB of RAM and 2 cores.

OK, sounds good.! So I think use two instances is not a problem. I wanna use 
apache webserver in front of these Tomcats with virtual servers but I dont know 
if will be a good idea because I use websockets and I dont know if websockets 
can pass throught webserver to tomcat

Reply via email to