您的位置:首页 > 科技 > IT业 > springboot tomcat 参数配置 性能优化

springboot tomcat 参数配置 性能优化

2024/10/10 7:16:23 来源:https://blog.csdn.net/weixin_42903592/article/details/142253354  浏览:    关键词:springboot tomcat 参数配置 性能优化
server:port: 8080#连接超时时间connection-timeout: 20000tomcat:#最大连接数max-connections: 10000#最大队列长度accept-count: 1000threads:#最大线程数max: 200#最小线程空弦数min-spare: 10#保持连接超时时间(以毫秒为单位)keep-alive-timeout: 10000#可通过保持连接发送的最大请求max-keep-alive-requests: 100#压缩compression:enabled: truemime-types: application/json,application/xml,text/html,text/xml,text/plainmin-response-size: 1024#tomcat日志配置accesslog:enabled: truedirectory: /var/log/tomcatprefix: access_logsuffix: .txtspring:autoconfigure:exclude: org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com