logoalt Hacker News

sophaclesyesterday at 9:13 PM1 replyview on HN

Durable objects do websockets


Replies

parzivaltyesterday at 9:30 PM

yeah, for the game tick i went the other way though. alarms fire on schedule, resources calculated on-read from timestamps. a player can close the tab for 8 hours and the world still moves correctly when they come back, without holding any per-session state.

show 1 reply