Caisey Blog

Technical MSPs ยท May 20, 2026

How lazy event bridges reduce remote support infrastructure cost

Learn how lazy event bridges cut infrastructure costs for MSP remote support by avoiding always-on WebSockets while keeping live updates available when needed.
infrastructurecost-optimizationevent-bridgesdurable-objectsmsp-operations

Most remote support platforms keep a persistent WebSocket open for every enrolled endpoint, all day, every day. For an MSP with thousands of machines under management, that architecture turns into a predictable tax: compute hours, connection state tracking, and heartbeat traffic that never stops billing. The bill does not care whether a technician is actively troubleshooting or whether the machine has been idle for six hours.

Caisey takes a different approach with lazy event bridges. Instead of maintaining always-on event sockets, the system creates event pathways on demand and tears them down when the work finishes. The endpoint stays enrolled and reachable. The control plane stays aware. But the active infrastructure cost scales with actual troubleshooting activity, not with the size of your client fleet.

The cost of always-on connections

A traditional remote access platform typically holds a WebSocket or long-polling connection open from each endpoint to a central broker. The math is simple and brutal. One thousand endpoints times twenty-four hours times thirty days equals seventy-two thousand connection-hours per month before anyone opens a single support session.

That baseline cost compounds. You pay for the compute to maintain the connection state. You pay for the memory to buffer messages. You pay for the bandwidth of keepalive packets and status heartbeats. And you pay for the engineering overhead of connection pool management, retry logic, and failure detection across a surface area that never shrinks.

For MSPs, this creates a structural problem. Your infrastructure costs grow with client acquisition even if your support volume stays flat. A new client with two hundred endpoints adds two hundred permanent connections to your bill, whether they call the help desk twice a day or twice a quarter.

How lazy bridges defer cost until activity

Caisey's architecture uses Cloudflare Durable Objects with hibernation-aware event handling. When no active session exists, the endpoint runtime does not hold open a WebSocket to the control plane. Instead, it maintains a lightweight enrollment heartbeat at a much lower frequency, just enough to confirm liveness and policy compliance.

When a technician initiates a session, the control plane lazily constructs an event bridge to that specific endpoint. The bridge carries real-time updates, command responses, and state changes for the duration of the active work. When the session ends and the technician disconnects, the bridge hibernates or closes. The endpoint returns to its low-touch enrollment state.

This is not merely connection pooling. The bridge is purpose-built for the session context. It carries the permission prompt state, the approval chain, and the audit stream for that specific interaction. When the session closes, those resources clean up together. There is no lingering socket holding memory for a conversation that already ended.

What hibernation means for your bill

Cloudflare Durable Objects bill for request duration and active compute time, not for hibernated existence. A Durable Object that has gone to sleep consumes no compute hours. It persists its SQLite state, but it does not charge you for waiting.

For Caisey, this maps cleanly to the MSP workflow. Most endpoints are not being troubleshooted most of the time. A machine might see active remote support for fifteen minutes in a typical week. With lazy bridges, you pay for those fifteen minutes of active event infrastructure, not for the other ten thousand minutes of quiet enrollment.

The savings scale non-linearly. A thousand-endpoint MSP with typical support volume might see active bridge time across only fifty to a hundred endpoints at any given moment. The rest of the fleet rests in hibernation, contributing only storage-weighted costs rather than active compute.

Practical resilience without the overhead

Lazy bridges do not mean fragile bridges. Caisey's runtime handles reconnection gracefully. If a technician's browser drops and reconnects, the control plane reattaches to the existing session context through the Durable Object's persisted state. The endpoint does not need to renegotiate a new connection from scratch.

This matters for technician experience. A support session might span a network hiccup, a laptop sleep cycle, or a brief switch between Wi-Fi and cellular on the technician's side. The bridge reconstructs around the session identity, not around a fragile socket handle.

The same pattern protects against runaway costs from flapping connections. A misconfigured network or aggressive firewall that repeatedly drops and reconnects a traditional WebSocket can generate exponential retry traffic. With lazy bridges, each reconnection is a deliberate control plane decision, not an automatic socket re-establishment that burns compute on both ends.

Comparing architectures for MSP planning

When evaluating remote support infrastructure, ask vendors three specific questions. First, does connection cost scale with endpoint count or with active session count? Second, what happens to connection state when a session is idle for ten minutes, an hour, overnight? Third, can the system rehydrate session context without a full endpoint reconnection?

Always-on architectures tend to answer the first question with endpoint count. Idle sessions typically keep sockets alive with configurable timeouts measured in hours. And reconnection usually means starting over, losing context, and rebuilding state from scratch.

Lazy bridge architectures answer differently. Cost scales with activity. Idle sessions hibernate and stop billing for compute. Reconnection reattaches to persisted session state without disturbing the endpoint.

The operational side effect: cleaner failure modes

A secondary benefit of lazy bridges is reduced blast radius. An always-on broker that fails affects every connected endpoint simultaneously. A lazy bridge failure affects only the active sessions on that specific Durable Object. The rest of the fleet continues its low-frequency heartbeats, unaffected and unaware.

For MSPs running distributed teams across time zones, this means a control plane incident at 3 AM local time does not wake every endpoint in every client site into reconnection storms. The morning shift finds the system stable, with session history intact and endpoints still enrolled, rather than recovering from a thundering herd of reconnections.

When to stay eager, when to go lazy

Lazy bridges are not universally superior. A monitoring or telemetry platform that needs continuous metric streams might justify always-on connections. But remote troubleshooting is fundamentally bursty. A technician needs rich, live interaction for minutes or hours, then nothing for days or weeks.

Caisey's design matches this reality. The enrollment layer stays eager enough to confirm endpoint health and policy status. The event layer stays lazy, activating only when human attention demands it. The result is infrastructure cost that follows support volume, not fleet size, without sacrificing the responsiveness that technicians need when a ticket is open and a client is waiting.