hyperfiddle

grounded_sage 2025-03-20T10:19:38.114339Z

Who is using Fly and solved rolling deployments where you don't disconnect a user?

henrik 2025-03-20T11:59:49.043779Z

We’re using Fly, but 1) are still on v2 and 2) don’t know how to not disconnect the user.

Dustin Getz (Hyperfiddle) 2025-03-20T13:57:48.031869Z

electric will auto reconnect when the server blinks, but it implies a reboot of the client app. This is the same problem as in web apps where the user needs to refresh (often the app will present a popup banner saying "please refresh") - we need to reload the javascript

henrik 2025-03-20T14:01:32.623919Z

If the connection is broken, presumably the server side part of the DAG might be gone or at least misaligned. Best way to work around it IMO is to make sure the app state is as addressable as possible in terms of the URL, beyond persisting changes ASAP.

👍 1
Dustin Getz (Hyperfiddle) 2025-03-20T14:02:19.234969Z

electric validates the DAG hash

👍 3