ngrok ↔ local dev server: WebSocket upgrade reliability under load
Goal Determine whether ngrok’s handling of WebSocket upgrades is the source of frame loss or latency spikes when the local development server receives more than 200 concurrent connections. Constraints & Uncertainty ngrok 3.x injects a TLS termination layer adding 5–15 ms per request. Its core runs a single‑threaded event loop, which may become a CPU bott