Skip to content

feat(control_plane): emit shard_count=12 (ASAP_SHARD_COUNT) to smooth edge flush - #343

Merged
zzylol merged 1 commit into
mainfrom
fix/control-plane-shard-count-12
May 26, 2026
Merged

zzylol merged 1 commit into
mainfrom
fix/control-plane-shard-count-12

Conversation

@zzylol

@zzylol zzylol commented May 26, 2026

Copy link
Copy Markdown
Contributor

The fused asap_edge emit hardcoded shard_count=4, overriding the processor default that #446 raised to 12. flushLoop phase-shifts one shard per WindowDuration/shard_count tick, so a higher count spreads the per-flush CPU+memory burst — needed under the dense raw-buffer workload (#445). Default 12, env-overridable via ASAP_SHARD_COUNT. Completes the CPU-smoothing (#446) for the fused deploy.

…ooth edge flush

The fused asap_edge emit hardcoded shard_count=4, overriding the processor
default. flushLoop phase-shifts one shard per (WindowDuration/shard_count) tick,
so a higher count spreads the per-flush CPU+memory burst into more, smaller
bursts — needed under the dense raw-buffer workload. Default 12, env-overridable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol merged commit ee28688 into main May 26, 2026
@zzylol
zzylol deleted the fix/control-plane-shard-count-12 branch July 17, 2026 20:05
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