4 ms·
Mobile apps don't restore very well either, but it doesn't matter so much. There is usually not much to restore because they have less state. Let's say I have
by jstimpfle 8y ago
Mobile apps don't restore very well either, but it doesn't matter so much. There is usually not much to restore because they have less state.
Let's say I have a private browsing session. Or a password manager session where I've been manipulating an unlocked database. I might have manually mounted a file system over the network and might have a bunch of programs running, editing the files over there.
You cannot restore these things automatically after a shutdown. It's annoying each time, and sometimes you are simply going to lose data.
- kilburn 8y agoYou are presenting situations that are hard but not impossible to deal with. If you can keep the stuff in RAM, you can also serialize it to disk and then restore it from there. The only thing you cannot do is reply to external inputs during that time (so keepalive connections may be a problem if your updates take too long), but that can also be dealt with. We are very far from getting there though.