Skip to content

[WIP] feat(planner) implement async planner - #1

Open
nwangfw wants to merge 6 commits into
mainfrom
feat/planner-queue-impl-clean
Open

[WIP] feat(planner) implement async planner#1
nwangfw wants to merge 6 commits into
mainfrom
feat/planner-queue-impl-clean

Conversation

@nwangfw

@nwangfw nwangfw commented May 13, 2026

Copy link
Copy Markdown
Owner

PR summary — queue-based planner implementation

What changes

Replaces the synchronous Passthrough planner with an asynchronous queue-backed implementation. The gRPC caller now returns immediately with a synthetic "validating" batch while a worker pool runs Provision + CreateBatch in the background. The plannerapi.Planner interface is unchanged; the swap is one line in server.go.

nwangfw added 2 commits May 12, 2026 18:57
Signed-off-by: Ning Wang <n.wang.chn@hotmail.com>
Signed-off-by: Ning Wang <n.wang.chn@hotmail.com>
@nwangfw
nwangfw force-pushed the feat/planner-queue-impl-clean branch from f44f9dd to 3d0c69e Compare May 13, 2026 21:59
Signed-off-by: Ning Wang <n.wang.chn@hotmail.com>
@nwangfw
nwangfw force-pushed the feat/planner-queue-impl-clean branch from 3d0c69e to b5f75c1 Compare May 14, 2026 04:27
nwangfw added 2 commits May 14, 2026 15:50
Signed-off-by: Ning Wang <n.wang.chn@hotmail.com>
Signed-off-by: Ning Wang <n.wang.chn@hotmail.com>
@nwangfw
nwangfw force-pushed the feat/planner-queue-impl-clean branch from 357ddbe to 9beeae4 Compare May 15, 2026 03:27
Signed-off-by: Ning Wang <n.wang.chn@hotmail.com>
@nwangfw
nwangfw force-pushed the feat/planner-queue-impl-clean branch from 9beeae4 to 201ef7f Compare May 15, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant