Files
orca/src/main/browser
Neil c8eb1319fc perf(cloud): 0-RTT port-forward opens, idle-proof SSH/forward activity, faster small downloads (#146)
- Forward tunnel early data (workspace-ports.forward-tunnel.early-data.v1). It is negotiated on
  each attach: the client asks for it and the host echoes it in `ready`. The client sends up to
  64 KiB, its receive credit and a half-close right behind Open. The host holds those bytes
  until the destination connects, writes them before Opened, and drops them if the connect
  fails. Old hosts and old clients keep the strict ordering, and the browser tunnel is unchanged.
  New-connection HTTP GET through a forward on a real VM: p50 127 -> 64 ms, p95 138 -> 70 ms.
- SSH and port-forward idle-sleep activity now use ForwardUseMeter instead of the
  2 KiB/min byte threshold. An idle VS Code remote window sends 2.3-3.0 KB/min of
  keepalives, so it kept the VM awake forever. The meter counts packet bursts and
  payload-sized packets instead; the unit tests replay traces recorded on the real VM.
- Downloads: files.stat now goes out with the first pages instead of one round trip ahead
  of them.
2026-11-09 19:06:01 -08:00
..