ModelEngine-Group / ModelEngine-Group/fit-framework

FIT 异步调用模式优化

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: fit type: enhancement
Dominant language
Java
Stars
2.1k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

当前在使用 BrokerClient 进行 FIT 调用时,如果设置了调用方式为 async,并没有真正做到异步,而只是背后实现逻辑先异步化,但是获取结果处暂时先同步等待,这样保证了同步调用和异步调用的暂时一致,但是要做到真正的异步,需要在获取结果的地方进行改造,例如可以变成一个 Solo 对象,使得该次调用真正可以异步。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the BrokerClient FIT async invocation path and the point where results are retrieved. Review how the current async mode waits synchronously, then determine the intended Solo-based result behavior. Done means the call can retrieve its result asynchronously while preserving the existing synchronous and asynchronous invocation consistency.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.