Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 新增请求隔离 #1

Open
conghuhu opened this issue Dec 27, 2022 · 0 comments
Open

feat: 新增请求隔离 #1

conghuhu opened this issue Dec 27, 2022 · 0 comments
Labels
good first issue Good for newcomers P2 Normal

Comments

@conghuhu
Copy link
Owner

新增请求隔离

服务节点维度,支持请求的快慢线程池隔离。快慢线程池隔离主要用于一些使用了同步阻塞组件的API,例如SSO鉴权、自定义鉴权等,可能导致长时间阻塞共享业务线程池。

快慢隔离的原理是统计API请求的处理时间,将请求处理耗时较长,超过容忍阈值的API请求隔离到慢线程池,避免影响其他正常API的调用。

除此之外,qing-gateway也应支持业务研发人员配置自定义线程池进行隔离。具体的线程隔离模型如下图所示:
image

@conghuhu conghuhu added good first issue Good for newcomers P2 Normal labels Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers P2 Normal
Projects
None yet
Development

No branches or pull requests

1 participant