tomcat部署性能优化方案

 

                maxThreads="500" minSpareThreads="20" maxIdleTime="60000" prestartminSpareThreads="true" maxQueueSize="100" />

                connectionTimeout="20000"  
            redirectPort="8443"  
            executor="tomcatThreadPool"  
            enableLookups="false"  
            acceptCount="100"  
            maxPostSize="10485760"  
            compression="on"  
            disableUploadTimeout="true"  
            compressionMinSize="2048"  
            noCompressionUserAgents="gozilla, traviata"  
            acceptorThreadCount="2"  
            compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/javascript"  
            URIEncoding="utf-8"/>

你可能感兴趣的:(JAVA,TOMCAT)