jmx-servlet.xtp
来自「RESIN 3.2 最新源码」· XTP 代码 · 共 69 行
XTP
69 行
<document> <header> <product>resin</product> <title>Information Servlet /resin-status </title> <type>contents</type> <description> <p>Resin provides a primitive status servlet /resin-status. It's disabled by default to avoid any security issues. </p> </description> </header> <body> <summary/><s1 title="Configure the /resin-status servlet"><example title="resin.xml /resin-status configuration"><resin xmlns="http://caucho.com/ns/resin" xmlns:resin="http://caucho.com/ns/resin/core">...<web-app-default> <servlet-mapping servlet-class='com.caucho.servlets.ResinStatusServlet'> <url-pattern>/resin-status</url-pattern> <init enable="read"/> </servlet-mapping> <security-constraint> <web-resource-collection url-pattern="/resin-status/*"/> <ip-constraint> <allow>127.0.0.1/32</allow> </ip-constraint> </security-constraint></web-app-default>...</example></s1><s1 title="Interpreting the proxy cache hit ratio"><p>The proxy cache is Resin's internal proxy cache (in Resin Pro).The hit ratio marks what percentage of requests are served out of thecache, i.e. quickly, and which percentage are taking the full time.</p><p>The proxy cache hit ratio is useful for seeing if you can improve yourapplication's performance with better caching. For example, if you hada news site like www.cnn.com, you should have a high hit rate to makesure you're not overtaxing the database.</p><p>If you have a low value, you might want to look at your heavily usedpages to see if you can cache more.</p></s1></body></document>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?