English 中文(简体)
Tomcat 6业绩考核
原标题:Tomcat 6 performance tuning
  • 时间:2010-06-29 00:30:38
  •  标签:
  • tomcat6

我正计划把阿帕奇·托马特·6.0作为网络服务器,用于我的网络应用。 我已经写了我的以下看法:它要求一些阿贾克斯请求/http://www.un.org。

在我向用户公布我的网络申请时,你可以向我介绍一下我能做些什么来提高我的汤姆斯的绩效?

我希望Tomcat能够支持我的网络应用。 我认为,我有这么多的亚希克斯人要求这样做。 感谢。

最佳回答

摘自Wrox的Pharma Tomcat 6专业论文。 这本书载有你管理Tomcat服务器,包括业绩想法的体面书籍。

下面是几个方面:

  1. Enable APR libraries-Windows: put the tcNative.dll into your catalina path. Linux-Usually already has this, but you can build from source if needed. Configure your server.xml if neccessary. That s it.
  2. Set up connection pooling-Rather than get a new connection every time, have Tomcat manage your connection pooling.
  3. Turn on compression/caching-It d be better to do this with an Apache frontend, but if you are serving directly from tomcat, this ll cut down on response size, # of requests, etc.
问题回答

暂无回答




相关问题
MySQL like query runs extremly slow for 5000 records table

I have this issue on our production server. The application stack is, Java Web App on Tomcat 6.0.18 iBatis data access layer MySQL 5.0 database CentOS The system is deployed on virtual server having ...

Set the path of web app in META-INF/context.xml?

I m tryin to change the path of a deployed war file in Tomcat. Reading the documentation I can t figure out if this is possible without moving the context-file to the /conf directory. Is it possible ...

MySQL Connector/J Problem

So I ve been having issues with the MySQL Connector/J driver not correctly loading in a Java Web Start application that is running on Tomcat 6.0.20. I ve copied the MySQL connector JAR file into the ...

Can t connect to MySQL database from tomcat

Hey, I m getting this error: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. I m just ...

JNDI Names -- Is Prefix "jdbc/" needed?

What s up with JNDI names? I m trying to get a javax.sql.DataSource using the new annotations feature of Java 5. It s not working for me, so I want to ask... I have a in my web.xml, inside of it is ...

热门标签