带你读《Apache Dubbo微服务开发从入门到精通》——四、 Qos单机运维(6)

本文涉及的产品
服务治理 MSE Sentinel/OpenSergo,Agent数量 不受限
简介: 带你读《Apache Dubbo微服务开发从入门到精通》——四、 Qos单机运维(6)

《Apache Dubbo微服务开发从入门到精通》——可视化监测服务状态——四、 Qos单机运维(5) https://developer.aliyun.com/article/1224148



6. profiler热点热点分析

 

性能采样功能可以对Dubbo处理链路上的各处耗时进行检测,在出现超时的时候 usageTime/timeout>profilerWarnPercent*100通过日志记录调用的耗时。

 

此功能分为simple profiler和detail profiler两个模式,其中simple profiler模式默认开启,detail profiler模式默认关闭。

 

detail profiler相较simple profiler模式多采集了每个filter的处理耗时、协议上的具体耗时等。

 

在simple profiler模式下如果发现Dubbo框架内部存在耗时长的情况,可以开启detail profiler模式,以便更好地排查问题。

 

1) enableSimpleProfiler命令

 

开启simple profiler模式,默认开启

 

image.png

 

2) disableSimpleProfiler命令

 

关闭simple profiler模式,关闭后detail profiler也将不启用

 

image.png

 

3) enableDetailProfiler命令

 

开启detail profiler模式,默认关闭,需要开启simple profiler模式才会真实开启

 

image.png

 

4) disableDetailProfiler命令

 

关闭detail profiler模式,关闭后不影响simple profiler

 

image.png

 

5) setProfilerWarnPercent命令

 

设置超时时间的警告百分比

 

命令:setProfilerWarnPercent {profilerWarnPercent}

 

profilerWarnPercent: 超时时间的警告百分比,取值范围0.0~1.0,默认值为0.75

 

image.png


《Apache Dubbo微服务开发从入门到精通》——可视化监测服务状态——四、 Qos单机运维(7) https://developer.aliyun.com/article/1224139

相关文章
|
3天前
|
Dubbo Java 应用服务中间件
微服务学习 | Springboot整合Dubbo+Nacos实现RPC调用
微服务学习 | Springboot整合Dubbo+Nacos实现RPC调用
|
3天前
|
XML Dubbo Java
【Dubbo3高级特性】「框架与服务」服务的异步调用实践以及开发模式
【Dubbo3高级特性】「框架与服务」服务的异步调用实践以及开发模式
37 0
|
3天前
|
运维 Linux Apache
Linux Apache服务详解——Apache虚拟目录与禁止显示目录列表实战
Linux Apache服务详解——Apache虚拟目录与禁止显示目录列表实战
27 2
|
3天前
|
SpringCloudAlibaba Dubbo Java
SpringCloud Alibaba集成Dubbo实现远程服务间调用
SpringCloud Alibaba集成Dubbo实现远程服务间调用
|
3天前
|
Dubbo Java 应用服务中间件
性能工具之JMeter Dubbo 脚本开发
【5月更文挑战第13天】性能工具之JMeter Dubbo 脚本开发
18 3
性能工具之JMeter Dubbo 脚本开发
|
1天前
|
XML 监控 Dubbo
Dubbo03【管理控制台和监控中心搭建】,Java开发实用必备的几款插件
Dubbo03【管理控制台和监控中心搭建】,Java开发实用必备的几款插件
|
3天前
|
网络安全 API Apache
如何在win系统部署Apache服务并实现无公网ip远程访问
如何在win系统部署Apache服务并实现无公网ip远程访问
|
3天前
|
Dubbo Java 应用服务中间件
Spring Cloud Dubbo: 微服务通信的高效解决方案
【4月更文挑战第28天】在微服务架构的发展中,服务间的高效通信至关重要。Spring Cloud Dubbo 提供了一种基于 RPC 的通信方式,使得服务间的调用就像本地方法调用一样简单。本篇博客将探讨 Spring Cloud Dubbo 的核心概念,并通过具体实例展示其在项目中的实战应用。
22 2
|
3天前
|
存储 Linux 数据库
ZooKeeper【搭建 01】apache-zookeeper-3.6.2 单机版安装+配置+添加到service服务+开机启动配置+验证+chkconfig配置(一篇入门zookeeper)
【4月更文挑战第8天】ZooKeeper【搭建 01】apache-zookeeper-3.6.2 单机版安装+配置+添加到service服务+开机启动配置+验证+chkconfig配置(一篇入门zookeeper)
38 0
|
3天前
|
Linux 网络安全 Apache
Redhat 9 搭建Apache服务
Apache HTTP Server,开源且广泛使用的Web服务器,以其高效、可靠和可扩展性著称。它有两种工作模式:prefork(多进程单线程)和worker(多进程多线程)。在Redhat 9.2系统上安装Apache,涉及安装httpd服务及相关依赖,配置文件位于`/etc/httpd/conf/httpd.conf`。安装后,需关闭防火墙和SELinux,重启服务并设置开机启动,确保80端口监听。最后,通过IP地址访问测试页面以验证配置成功。
28 0
Redhat 9 搭建Apache服务

推荐镜像

更多