网关异常分析

zuul相关异常

  • 日志量太大,截取相关时间段日志
sed -n '/2018-05-31 14:00:00/,/2018-05-31 18:00:00/p'  xxxx.log > 2-5.log

接口超时异常
  • 设置的30秒
Caused by: com.netflix.hystrix.exception.HystrixRuntimeException: thor timed-out and no fallback available.
信号量获取失败
  • 每秒大于20, 被拒绝的
 com.netflix.hystrix.exception.HystrixRuntimeException: thor could not acquire 
a semaphore for execution and no fallback available
熔断异常
  • 压测的是: 100/s 五次
java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN

hystrix 原理

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容