Workstream W10 of #430 · performance
Summary
Hot-path and structural throughput improvements identified from the protocol read. The incremental items stand alone; the largest wins ride the foundational workstreams (per-origin parallel apply from W4, dedicated threads from W6).
Pieces
Retires / advances
Dependencies
Incremental items are independent. Structural wins depend on W4 and W6.
Effort / risk
M / low–medium (incremental); structural wins are sized under W4/W6.
Acceptance criteria
🤖 Filed by Claude on behalf of Kris.
Workstream W10 of #430 · performance
Summary
Hot-path and structural throughput improvements identified from the protocol read. The incremental items stand alone; the largest wins ride the foundational workstreams (per-origin parallel apply from W4, dedicated threads from W6).
Pieces
TODO: eventually we don't want to decode, we want to use fast binary transfer). A passthrough relay would cut copy CPU substantially for large tables and shrink the system base-copy gated on huge hdb_analytics (analytics.replicate:true) blocks hdb_deployment convergence → deploys fail after any copy #421/NATS MAX_PAYLOAD_EXCEEDED error when cluster cloning large data #266 surface.TODOto elide repeated version/username across entries in one txn) — bandwidth win.setImmediatepromise allocation in the inbound decode loop (frequent on exclusion-filtered tables).MAX_OUTSTANDING_COMMITS,RECEIVE_EVENT_HIGH_WATER_MARK,BACK_PRESSURE_INTERVALruntime-configurable (currently hardcoded closure constants) so tuning doesn't require a code change.getEntry/fsPromises.accessper candidate from known-lagging nodes).cluster_statusgetSystemInfocost (cluster_status: avoid full getSystemInfo call for performance #260) — shared with W8.Retires / advances
hdb_analyticsbase-copy blocks deploy convergence (copy-path + prioritization angle)Dependencies
Incremental items are independent. Structural wins depend on W4 and W6.
Effort / risk
M / low–medium (incremental); structural wins are sized under W4/W6.
Acceptance criteria
🤖 Filed by Claude on behalf of Kris.