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

fuo 请求增加 id 号标识 #424

Open
cosven opened this issue Nov 25, 2020 · 0 comments
Open

fuo 请求增加 id 号标识 #424

cosven opened this issue Nov 25, 2020 · 0 comments
Assignees
Labels
component/cli feat request feature or enhancement request FEP feeluown enhancement proposal

Comments

@cosven
Copy link
Member

cosven commented Nov 25, 2020

  • 作者:@cosven
  • 创建时间:2020-11-5
  • 最近更新:2020-11-5 08:00
  • 最新状态:

简介与背景

目前 fuo 请求没有 id 号标识,服务端接收到多个请求时,比如依次接收到 a,b,c 三个请求。
那么服务端必须返回 a 请求的响应,才能返回 b 请求的响应,接着是 c。
但现实中,c 请求的处理时候有可能比 a 更少,这时候理应先返回 c 请求的响应。

然而,由于 fuo 请求目前都没有任何标识,导致无法实现上述需求。调研 json-rpcthrift ,它们都是在请求里面附带一个 unique id。这样就可以在一个连接上更高效的处理多个请求。

方案概述

??? 还没仔细思考

@cosven cosven added the FEP feeluown enhancement proposal label Nov 25, 2020
@cosven cosven self-assigned this Nov 25, 2020
@cosven cosven added component/cli feat request feature or enhancement request labels Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/cli feat request feature or enhancement request FEP feeluown enhancement proposal
Projects
None yet
Development

No branches or pull requests

1 participant