我是靠谱客的博主 可耐外套,最近开发中收集的这篇文章主要介绍glassbox故障诊断结果的简要分析,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

tomcat自带的RequestHeaderExample的访问报告为例。最后的诊断结果如果是对勾表示可接受,是叉表示不可接受。以下是glassbox报告内容:

 

乐观的应用: RequestHeaderExample


理由:可接受的性能


该应用在2011-2-24 11:05开始共执行了62

所有成功的调用都在1秒钟的目标之内

     

总平均执行时间:

0.49 毫秒

超出 1.0 秒钟, 0 (0%)

     

超出1.0秒执行平均时间:

N/A

技术摘要

该应用符合性能标准

 

技术详情

可接受的性能

应用名称: RequestHeaderExample

部署位置: 本地


执行次数

     

运行时间(平均)

62

 乐观

     

0.49 毫秒

 

0

 

     

N/A

 

0

 失败

     

N/A

 

这个乐观应用耗费的时间

 

   

 

       

Glassbox 诊断的其他的问题:

·          

成功建立了数据库连接。

 

数据库连接失败表明应用服务器不能建立一个新的连接,并不一定是数据库本身有问题。

·          

·          

数据库调用没有出现任何SQL的异常。

 

数据库出现SQL异常表明的事应用服务器向数据库发送了一个请求,但是请求失败了,同时返回了一个错误。

·          

·          

没有java线程在队列中等待超时。

 

Java的资源竞争表明几个Java应用进程都在同一时间等待同一个资源。

·          

·          

在调用web服务的时候没有出现任何问题

 

远程调用失败表示该应用程序服务器发送一个请求到远程服务,但请求失败,返回了一个错误(例如,一个SOAP故障)。

·          

·          

本应用没有消耗过度的CPU The operation did not overly tax the CPU.

 

过一个特定的操作使用了过多的CPU时间。

·          

·          

There was no excessive work detected.

 

Excess overall activity indicates that a particular Java operation uses an inordinate amount of system resources, but we did not find any specific cause for the issue. Too many such functions will impede scaling, so consider a code review of this operation.

·          

·          

Java应用没有出现异常或者错误页面

 

出现异常或者错误界面表明该应用是失败的,该应用会显示一个错误页面或者(和)返回一个错误。

·          

·          

所有数据库调用都是可接受的速度

 

一个缓慢的数据库调用表明应用程序服务器发送一次成功的请求到数据库,但反应交慢。

·          

·          

该应用的数据库操作总体时间是可以接受的

 

过多的数据库活动表明,虽然没有特定的数据库请求是缓慢的,有足够的数据库调用,它使应用程序的变得缓慢

·          

·          

所有单独的远程调用的速度都是可以接受的

 

一个缓慢的远程服务调用表明,应用服务器成功地调用一些缓慢的功能,但反应慢回来。

·          

·          

总体调用事件是可以接受的

 

过度的远程服务的活动表明,虽然没有特定的功能很慢,但整体时间却超出了预期。

·          

·          

The dispatch and helper layers ran within the allocated time.

 

The dispatch and helper layer normally consists of 'overhead' activities that aren't directly specific to the action being taken, and it is often expected to be tuned for speed sing it is generally run frequently. Examples are logic to hand off to the correct function, authentication, cleanup or a formatting helper function.

·          

·          

There were no errors detected in the dispatch and helper layers.

 

The dispatch and helper layer normally consists of 'overhead' activities that aren't directly specific to the action being taken, so errors are often less likely but more debilitating since these functions span multiple operations. Examples are logic to hand off to the correct function, authentication, cleanup or a formatting helper function.

PS:英文部分实在是不知道怎么翻译妥当。

最后

以上就是可耐外套为你收集整理的glassbox故障诊断结果的简要分析的全部内容,希望文章能够帮你解决glassbox故障诊断结果的简要分析所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(44)

评论列表共有 0 条评论

立即
投稿
返回
顶部