Skip to main content

Remote Latency

When server and TUI are on different machines, latency affects operator experience more than server orchestration correctness.

What latency impacts

  • perceived delay between action and UI update
  • log stream smoothness
  • reconnect/replay frequency on unstable links

What latency does not change

  • dependency graph planning
  • local process startup logic on the host running flowlayer-server
  • state machine semantics (starting, running, ready, ...)

Practical guidance

  1. Prefer low-latency paths (VPN/SSH tunnel on stable links).
  2. Keep session token handling explicit and secure for the chosen path.
  3. Use get_logs with after_seq after reconnects instead of trusting live stream continuity.
  4. For high-latency links, reduce unnecessary action churn and batch investigations by service.

Reference: