Snapshot On Separate Process #96
Labels
advanced
An advanced enhancement requiring deep knowledge of the codebase and/or a particular topic
enhancement
New feature or request
At the moment, EchoVault copies the entire store and then runs a snapshot on a goroutine in the same process. This has the effect of (almost) doubling the memory usage of the current process when the entire store is copied.
The idea is to create a new EchoVault process using
exec.Command
, passing the state to this new process and creating the snapshot in the new process. This should prevent the current process from blowing up in memory usage.The text was updated successfully, but these errors were encountered: