Sury Balasubramanian wrote:
Hello all,

if i want multiple tomcat instances running on the same machine (different
ports), can i potentially configure them to read off the same webapp (war)
directory? Is there a downside in doing that (separate work directories are
ok) ?? assume that each tomcat instance points to a single tenant (on a
multi-tenant app)? are there scalability issues?
Yes you can assuming all instances have read access to the directory. Problem would be if instances write to
the webapp directory.
Really not sure what you are trying to achieve by sharing one webapp directory.
I am curious how you can do a reasonable capacity plan for tenant sizes
ranging from 1-10 users to 50-100 users to somewhere close to 500 users
(memory to each instance, specific settings etc)
What do you mean by users? If you are referring to instances, then it depends primarily on the memory demands of the application. The average application and application server instance requires about 128MB memory (RAM). Plus you need about 512MB to 1GB RAM available to the system for other usage. So for a 4GB RAM Server, you probably would be able to run 25 instances. Of course you have to consider other things such as database resource usage, etc.



--
Regards

Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com
NEW! 8.0 - Centrally manage multiple physical servers


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to