It's all about the answers!

Ask a question

Mime Compression in the server.xml file

Sunita Dinakar (11413642) | asked Oct 10 '13, 2:32 a.m.

Following a series of performance and network issues, our IT administrator has recommended to apply compression in the Tomcat configuration file.

That is, to add the following line in the server.xml file -

<Connector URIEncoding="UTF-8" acceptCount="100" connectionTimeout="20000"
disableUploadTimeout="true" enableLookups="false"
maxHttpHeaderSize="8192" maxSpareThreads="75"
maxThreads="500" minSpareThreads="25" port="9089"
redirectPort="9080" compression="on"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml, text/javascript,text/css,application/javascript" />

By doing this change,  will it impact the system in anyway and are there any case studies that this has improved the performance/network problems?

Accepted answer

permanent link
Krzysztof Kaźmierczyk (7.4k35699) | answered Oct 10 '13, 2:51 a.m.
Hi Sunita,
Maybye it is not direct answer on your question but might help you.
See comment 2 which indicates that default settings are fine.

Also according to scm data is compressed as default.

Let us know if it helps.
Sunita Dinakar selected this answer as the correct answer

One other answer

permanent link
Pavithra Kasturirangan (42955756) | answered Oct 10 '13, 8:02 a.m.
Hi Krzysztof, On the Jazz admin page, the compressed setting seemed to be ON. However, on the Tomcat server.xml, the compression parameters are commented. Are these compression parameters in the server.xml for a different purpose then ?

Krzysztof Kaźmierczyk commented Oct 10 '13, 8:13 a.m.

Hi Pavithra,
The settings for server.xml apply to entire communication. Options in advanced properties apply only for scm actions.

Anyway SCM action usually create the biggest traffic in RTC.

Pavithra Kasturirangan commented Oct 10 '13, 8:14 a.m.

 So in your opinion, is it recommended to set the compression in Tomcat as well ?

Your answer

Register or to post your answer.