Re: Memory and resources for Tomcat

2016-03-18 Thread Mark Eggers
On 3/17/2016 3:32 PM, Edwin Quijada wrote:
> Hi! I am using Tomcat + APache +Postgres in the same machine server
> with 8GB Ram I wanna know what is the best configuration memory or
> anything else for better performance of my Tomcat?
> 
> I have 400 user +-
> 
> 
> My app is Grails + Vaadin +PostgreSQL
> 

Memory for Grails:

https://grails.org/wiki/FAQ

Search for memory on the Wiki page. However, even for trivial
applications it appears to consume 512 MB. Since you didn't say what
version of Java you're running, it's hard to tell you what (if any)
memory settings you'll need.

Tomcat by itself uses very little memory

Memory for Vaadin:

https://vaadin.com/wiki/-/wiki/main/Scalable+web+applications

There are several pieces of information concerning memory usage.

Application memory in general:

The above two links are for general information. The memory actually
used is highly dependent on your application (see notes in the second
link above). The best way to determine this is to measure (VisualVM,
Java Mission Control, etc.).

Memory for PostgreSQL:

https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
http://www.postgresql.org/docs/9.5/static/runtime-config-resource.html

Again, this appears to be in part connection and schema dependent.
Measurement is your only true option.

In short, use the above links to get yourself into the ballpark. Then
run your application under load and measure. Tomcat is probably the
least resource-intensive component of your architecture.

The above links are the result of less than 5 minutes of searching /
skimming using Google.

. . . just my two cents
/mde/



signature.asc
Description: OpenPGP digital signature


Re: Memory and resources for Tomcat

2016-03-18 Thread Edwin Quijada
Thks, !
For postgres I dont have problem because I have xp with this but for Tomcat and 
Java and newbie with big projects .
I am using Java 8 


From: Mark Eggers <its_toas...@yahoo.com.INVALID>
Sent: Thursday, March 17, 2016 11:30 PM
To: Tomcat Users List
Subject: Re: Memory and resources for Tomcat

On 3/17/2016 3:32 PM, Edwin Quijada wrote:
> Hi! I am using Tomcat + APache +Postgres in the same machine server
> with 8GB Ram I wanna know what is the best configuration memory or
> anything else for better performance of my Tomcat?
>
> I have 400 user +-
>
>
> My app is Grails + Vaadin +PostgreSQL
>

Memory for Grails:

https://grails.org/wiki/FAQ

Search for memory on the Wiki page. However, even for trivial
applications it appears to consume 512 MB. Since you didn't say what
version of Java you're running, it's hard to tell you what (if any)
memory settings you'll need.

Tomcat by itself uses very little memory

Memory for Vaadin:

https://vaadin.com/wiki/-/wiki/main/Scalable+web+applications

There are several pieces of information concerning memory usage.

Application memory in general:

The above two links are for general information. The memory actually
used is highly dependent on your application (see notes in the second
link above). The best way to determine this is to measure (VisualVM,
Java Mission Control, etc.).

Memory for PostgreSQL:

https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
http://www.postgresql.org/docs/9.5/static/runtime-config-resource.html

Again, this appears to be in part connection and schema dependent.
Measurement is your only true option.

In short, use the above links to get yourself into the ballpark. Then
run your application under load and measure. Tomcat is probably the
least resource-intensive component of your architecture.

The above links are the result of less than 5 minutes of searching /
skimming using Google.

. . . just my two cents
/mde/


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Memory and resources for Tomcat

2016-03-18 Thread Edwin Quijada
Hi!
I am using Tomcat + APache +Postgres in the same machine server with 8GB Ram I 
wanna know what is the best configuration memory or anything else for better 
performance of my Tomcat?

I have 400 user +-


My app is Grails + Vaadin +PostgreSQL