简体   繁体   English

在Wildfly 10.1中启用指标会降低性能

[英]Performance hit for enabling metrics in Wildfly 10.1

In the WildFly management console, I can enable statistics and metrics for various subsystems like data sources and persistence units. 在WildFly管理控制台中,我可以为各种子系统(例如数据源和持久性单元)启用统计信息和指标。 Is there / what is the performance hit in doing so? 这样做对性能有何影响? Is this a problem on a production system? 这是生产系统上的问题吗?

There is negligible hit in performance if you access statistics of resources frequently. 如果您经常访问资源统计信息,则对性能的影响可以忽略不计。 To avoid performance impact only, they are disabled by default. 为了仅避免性能影响,默认情况下禁用它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM