当前位置:网站首页>Kitex retry mechanism
Kitex retry mechanism
2022-07-07 11:05:00 【wangxiaoming】
Kitex Retry mechanism
When will I try again ?
kitex Crazy Jane currently has the following three retry mechanisms :
- Time out to try again
- Backup Request( No response received for a period of time , retry )
- Connection failed. Try again
The framework currently has three types of retries : Time out to try again 、Backup Request, Failed to create connection. Try again ( Default ). The connection failure is a network level problem , Because the request was not sent , The framework will retry by default , Business needs no attention .
Time out to try again
Timeout exception due to network jitter , High downstream load or GC And so on GC Jamming leads to timeout .
How to set the retrying policy ?
There are generally three kinds of exceptions :
- Business customization exception
- Timeout exception
- Non timeout framework class exception
There are generally two ways to make abnormal business judgments
Thrown downstream Error
The error code returned by the downstream
return Error The custom exception configuration method is as follows :
RetryWithError(IsErrorRetry)
- adopt
BaseRespCustom error code configuration
RetryWithResult(IsResultRetry)
- Retry count configuration
Maximum number of retries , Stop retrying if the maximum number of retries is exceeded .
WithMaxRetry边栏推荐
- 【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
- Unity script visualization about layout code
- 从色情直播到直播电商
- Ffmpeg record a video command from RTSP
- Cluster task scheduling system lsf/sge/slurm/pbs based on HPC scenario
- “梦想杯”2017 年江苏省信息与未来小学生夏令营 IT 小能手 PK 之程序设计试题
- 2021-05-21
- 【推荐系统 02】DeepFM、YoutubeDNN、DSSM、MMOE
- Basic introduction of yarn and job submission process
- [recommendation system 01] rechub
猜你喜欢

SQL Server 知识汇集9 : 修改数据

简单易修改的弹框组件

What are the test preparation materials and methods for soft exam information processing technicians?
![[pyqt] the cellwidget in tablewidget uses signal and slot mechanism](/img/0e/02265f7195ca0add4155694530822a.png)
[pyqt] the cellwidget in tablewidget uses signal and slot mechanism

BUUCTF---Reverse---reverse1

JSON format query of MySQL

Unable to open kernel device '\.\vmcidev\vmx': operation completed successfully. Reboot after installing vmware workstation? Module "devicepoweron" failed to start. Failed to start the virtual machine

Using tansformer to segment three-dimensional abdominal multiple organs -- actual battle of unetr

【pyqt】tableWidget里的cellWidget使用信号与槽机制

uniCloud
随机推荐
深入理解Apache Hudi异步索引机制
Wallhaven壁纸桌面版
[installation system] U disk installation system tutorial, using UltraISO to make U disk startup disk
How to play video on unityui
Unity downloads files through the server address
高级软考(网络规划设计师)该如何备考?
Project ERROR: Unknown module(s) in QT: core gui
The difference between monotonicity constraint and anti monotonicity constraint
Some online academic report websites and machine learning videos
软考中级,软件设计师考试那些内容,考试大纲什么的?
"Dream Cup" 2017 Jiangsu information and future primary school summer camp it expert PK program design questions
软考中级电子商务师含金量高嘛?
2022.7.6DAY598
uniapp 在onLaunch中跳转页面后,点击事件失效解决方法
【推荐系统 01】Rechub
VR development optimization
Schnuka: machine vision positioning technology machine vision positioning principle
中级网络工程师是什么?主要是考什么,有什么用?
Bookmarking - common website navigation for programmers
2022.7.4DAY596