摘要: 性能优化 ~~~ Tomcat性能指标:吞吐量、响应时间、错误数、线程池、CPU 、内存等。 使用jmeter进行压测,然后观察相关指标 使用命令查看相关指标 01 查看tomcat进程pid ps ef | grep tomcat 02 查看进程的信息 cat /pro/pid/status 03 阅读全文
posted @ 2020-01-08 12:01 snail灬 阅读(296) 评论(0) 推荐(0) 编辑
摘要: BootStrap ~~~ BootStrap是Tomcat的入口类 ~~~ 源码流程图 源码启动过程: ContainerBase的类关系图 ContainerBase.startInternal()方法 ~~~java // Start our child containers, if any 阅读全文
posted @ 2020-01-08 10:59 snail灬 阅读(182) 评论(0) 推荐(0) 编辑