Jump to content

Asynchronous saving to reduce save lag


Recommended Posts

I realize this would be a very significant change (definitely on the game engine side), but it might still be worth suggesting - would it be possible to implement asynchronous saving in DST?

From my understanding implementing async saving with the fork() syscall on both Unix-based systems would greatly reduce save lag. This would allow the main game to keep running smoothly while the save process is handled by a separate child process, minimizing interruptions.

I imagine that the majority of dedicated servers run on Linux, making this especially beneficial. This would of course be a qol improvement for Linux desktop and macOS users as well. Of course fork() isn't available on Windows.

IIRC Factorio has been using async game saves for a long time.

https://man7.org/linux/man-pages/man2/fork.2.html

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...