feat(relay): [SPIKE] route forwarding through ForwardTcp#1029
feat(relay): [SPIKE] route forwarding through ForwardTcp#1029
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
🌿 Preview your docs: https://nvidia-preview-pr-1029.docs.buildwithfern.com/openshell |
OS-88 ForwardTcp performance resultsBenchmark source:
Comparison note: against the prior gRPC tuned run, exec-oriented metrics were mostly faster, bulk stdout throughput was lower, and connect latency was slower. Since those runs used different clusters, treat latency and throughput deltas as directional rather than exact regressions. The key architectural result holds: a 50-relay storm keeps supervisor-to-gateway non-loopback TCPs flat at baseline. |
|
Label |
|
/ok to test 6c2cafa |
|
/ok to test 52fba8a |
Summary
Route SSH and service forwarding through the generic gRPC
ForwardTcpbyte stream, backed by targetable supervisor relays.This validates the OS-88 approach of using one dumb TCP forwarding path for both OpenSSH proxying and sandbox-local service forwarding, while removing the old HTTP
/connect/sshtunnel.Related Issue
OS-88
Changes
ForwardTcp,TcpForwardFrame, and targetable relay protobuf messages for SSH and loopback TCP targets.ProxyCommandtraffic andopenshell service forwardthroughForwardTcpwith token validation and connection accounting./connect/sshroute and replace HTTP-tunnel session lifecycle code with shared SSH session persistence/reaping.Testing
mise run pre-commitpassesnavigatorgateway deploy verified withcluster-deploy-fast.sh allsandbox execover the updated SSH path returnsos88-exec-okProxyCommandoverForwardTcp(target.ssh)returnsos88-ssh-okopenshell service forwardto sandbox-local HTTP server returnsos88-service-okarchitecture/plans/perf-os88-forwardtcp.txtChecklist