didi / didi/turbo

并行网关

Open
#82 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

我想问一下,我在开发并行网关有几个问题,想请教一下:
1.并行网关支不支持真的多线程,我看源码里面写的是伪并行,只能有一个线程在执行,那这样就会造成,如果说,我的并行里面套并行就永远执行不下去,导致死锁了。(源码里面全是用户任务,所有不会死锁)
2.如果我开线程池的话,我发现就是同一个流程,每次走的节点数量都不一样,这是为什么?
3.当两条分支有一条到达汇聚节点时,会throw 出一个等待汇聚,但是为什么当两个节点合并之后,这个throw直接阻断我的程序了,这个异常我需不需要来处理。

Contributor guide

Open the contributing guide

Research direction

Start by reading the Java source for the parallel gateway, branch merge behavior, and thread-pool execution path mentioned in the issue. Reproduce the nested-parallel case and the same-process runs with a thread pool, then trace the merge exception. Done means the supported concurrency behavior, varying node counts, and required exception handling are documented or reproduced as actionable defects.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.