Instant Mode Switching Across All Users
Change your app's mode from the dashboard and watch it update everywhere instantly. No page refresh. No polling. Just real-time Server-Sent Events magic.
How Real-Time Switching Works
Switchyy uses Server-Sent Events (SSE) to maintain a persistent connection between your app and our servers. When you change a mode in the dashboard, we push the update to every connected client instantly.
This means your users see mode changes the moment they happen — no waiting for the next API poll, no manual refresh required. It's the fastest way to control your app's behavior.
User Visits Your App
Our script establishes an SSE connection to Switchyy servers.
You Change the Mode
From your dashboard, switch to maintenance, custom, or any other mode.
Instant Broadcast
Switchyy pushes the update to all connected clients in milliseconds.
App Updates Immediately
Your app receives the event and shows the new mode instantly.
Sub-100ms Latency
Mode changes propagate faster than you can blink.
Works Everywhere
SSE is supported in all modern browsers and can be polyfilled for older ones.
Auto-Reconnect
Lost connection? The client automatically reconnects and syncs the latest state.
Edge-Optimized
Our infrastructure is globally distributed for minimal latency.
Why Server-Sent Events?
We chose SSE over WebSockets for several reasons:
- Simpler protocol — SSE works over standard HTTP, making it easier to deploy behind load balancers and proxies.
- Automatic reconnection — Built into the browser, no custom retry logic needed.
- One-way is enough — For mode updates, we only need server → client communication.
- Better compatibility — Works with HTTP/2, CDNs, and existing infrastructure.
Experience Real-Time Control
See how fast mode switching can be. Set up in under 5 minutes.
Get Started Free