Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache performance vs tomcat |
|
Author |
|
visna
Joined: 26 Nov 2016 Posts: 1 Location: Italy
|
Posted: Sat 26 Nov '16 12:15 Post subject: Apache performance vs tomcat |
|
|
Hello guys,
I've a windows server with Apache 2.4.23 and Tomcat 7.0.52 installed, I've test both web service on http request and I have find out that Apache run slighty slower then Tomcat.
With Tomcat a lot of pages are loaded about 2 second more faster then Apache even though I have set cache on Apache.
What parameters I'll to check for this performance issue?
Thanks!
Andrew |
|
Back to top |
|
gggeek
Joined: 13 Feb 2013 Posts: 10
|
Posted: Tue 29 Nov '16 15:23 Post subject: |
|
|
Hello
it seems that you are serving pages from a dynamic application - otherwise you would not have 'more than 2 secs' for serving a page in the first place?
If so, there are a lot of configuration parameters which might have an impact: how is the connection happening between apache and the backend app ?
Also, are you testing using some load-generating tool or simply by sending one concurrent request by a browser? |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7402 Location: EU, Germany, Next to Hamburg
|
Posted: Tue 29 Nov '16 15:54 Post subject: |
|
|
Dot not put the static files in the WEB-INF Folder but a parallel one. |
|
Back to top |
|
|
|
|
|
|