tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Quijada <listas_quij...@hotmail.com>
Subject Re: How many instances Tomcat?
Date Fri, 16 Dec 2016 21:35:09 GMT



________________________________
From: Daniel Savard <daniel.savard@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_quijada@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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message