- If you run Apache as front-end, use
mod_jk
. Its performance is much better thanmod_proxy
. - If you serve HTTP directly or use mod_proxy, use the NIO connector in Tomcat 6.
- Make sure your thread pool (maxThreads) is large enough, default is only 200.
- Make Tomcat state-less. Especially, don't use HttpSession. The state may cause memory leak in the app and degrade the performance gradually. Push all your state to database or client (cookies).
- Do use Database pooling (DBCP). We have MySQL, the JDBC driver is very chatty.
- If you run one instance of JMeter, it may become the bottleneck. Run multiple slaves from different networks to simulate real production load.
- stead of `commons-dbcp`, better use `tomcat-jdbc`. DBCP is namely singlethreaded.
10 September
Tips on Fine Tuning Apache 2.2 for high performance
Subscribe to:
Post Comments (Atom)
Beyond Toughness: Why Your Car's Brain Needs AEC-Q100 AND ASIL-B
AEC-Q100 vs. ASIL-B: Quality Meets Safety In the era of autonomous driving and electric vehicles, the electron...
-
This will create a certification file and send to free certification authority " https://certbot.eff.org " sponsored by linux foun...
-
Annual Technical Conference 2006 of IET-YMS Sri Lanka, 16 th October 2010 Department of Electrical and Information Engineering, University ...
-
Installing MPICH2 parallel computing from package manager or Ubuntu software center, will need lot configurations of available real processo...
No comments:
Post a Comment