Hacker News new | ask | show | jobs
by phyrex 831 days ago
I don’t disagree with the premise for very small applications, but

> The quiz state machine is full in memory

> The queue system for the matchmaking is in memory

Means those will be nuked as soon as a new version gets uploaded. it really wouldn’t have been much extra work to put this into SQLite as well, and would lead to a much better user experience during updates

2 comments

You are right, but i can roll updates during the night without causing any issue. Since after you finished playing you don't have a way to access your old games anymore
That works for the specific case presented here. As soon as you have users from other timezones, ”during the night“ becomes a really complicated concept quickly.
you are definetely right. :)
> i can roll updates during the night without causing any issue

This isn't universally true.

I work on a telephony platform, some components of which need to be upgraded very carefully, because if you just restart the daemon without first transferring load elsewhere then you drop people's calls.

OK, there are less calls at night time, but there are calls all of the time and people don't expect their calls to randomly drop just because it's night time.

Can't you just serialize those things and then migrate them?