All the magic is on the backend, this is just timers
Loading...
This approach is essentially an optimization of the websocket technique. The backend is hibernated, and woken up via alarm API every 10 seconds to update the value.
NEW: The value is saved in transactional storage, so it's "ressurected" whenever a durable object goes out of memory.