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

[RFC] 后端进程从同步转为异步 #561

Open
EstrellaXD opened this issue Oct 10, 2023 · 0 comments · May be fixed by #567
Open

[RFC] 后端进程从同步转为异步 #561

EstrellaXD opened this issue Oct 10, 2023 · 0 comments · May be fixed by #567
Labels
RFC Request for Comments

Comments

@EstrellaXD
Copy link
Owner

背景 or 问题

当前 AB 的后端为同步函数,由于大量的网络 IO 链接,使得极易发生进程阻塞且效率低下。更换到异步函数解决这一问题。

目标 & 方案简述

  1. 网络库从 requests 更换为 httpx 同时支持 HTTP/2 请求。
  2. 重写下载器连接库,更换为异步函数。
  3. 后端逻辑重构,增加运行效率。

方案设计 & 实现步骤

No response

替代方案 & 对比

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC Request for Comments
Projects
None yet
1 participant