Repository navigation
feat(zingod-grpc): cpu-aware work limit, wallet-hurt overload signal, host-derived caps - #21
Merged
Merged
Conversation
elicbarbieri
force-pushed
the
feat/admission-overload
branch
from
November 12, 2026 22:45
251be59 to
3c7eac5
Compare
elicbarbieri
force-pushed
the
feat/admission-overload
branch
from
November 12, 2026 22:51
3c7eac5 to
72ed60c
Compare
elicbarbieri
force-pushed
the
feat/admission-overload
branch
from
November 18, 2026 21:22
41863a0 to
a4c954b
Compare
…r-client share, host-derived caps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UPeo6aA7D3kXgANoLLvQkQ
elicbarbieri
force-pushed
the
feat/admission-overload
branch
from
November 18, 2026 23:03
a4c954b to
859b54b
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UPeo6aA7D3kXgANoLLvQkQ
elicbarbieri
force-pushed
the
feat/admission-overload
branch
from
November 18, 2026 23:17
859b54b to
3b95f52
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sheds only when the cpu falls behind, takes a node out of rotation only when its wallets are hurt, & sizes itself from the host: no hardware knobs.
What it does
TaskMonitorscheduling delay), median over 5 s; sheds past 100 ms held 15 s/readyzchanges: serving & accepting continue, the lb steers new wallets elsewherezingod_grpc_overload_share{cause}(refused,network)tcp_info.rs)ss -ti) every 10 s: of >= 10 senders, median queue delay >= 50 ms or >= 2% resent, held 30 s[grpc] work_share_per_ip(default 0.0625) of the limit as live work streams: 128 at 2048, 8 at the floor; filling a node takes 16 addresses; 1.0 = none (load tests)per-client work stream share reached, its own doing: never counted as overloadadmission_rejected_total{reason}(limit,client_share)Claim= one atomic booldaemon/capacity.rs)memory.maxrespected; refuses to start under 256max_connections,max_work_streams,max_streams_per_connection(fixed 100),overload_min_wallets,[grpc.overload],zingod overloadmax_connections_per_ip,unread_timeout_secs(300); new:work_share_per_ip[grpc] read_threads, default 32); transparent-address history scans apart ([grpc] scan_threads, default 4)GetBlockmedian 494 ms → 4 msread_wait_seconds{pool}(read,scan)Work limit lowered/restored,Uplink congested/clear,Overload latched/clearedServing=rps,conns,refused,failed,evicteddos-protection.md; changeset lists every removed key, command & metricbench
2 cores, k6 wallets, two rounds each vs main as deployed