It should be possible to save the data to the disk on every write, so that we can recover it on startup. My current thoughts about this feature is that each type should have a char *dump(void *val) and a void *load(char *val) which will be used internally on set and update to save the dumped version so a .txt file. That'll be deleted on del and etc etc.
Don't know if we'll have problems with race conditions or anything, just random thoughts.
It should be possible to save the data to the disk on every write, so that we can recover it on startup. My current thoughts about this feature is that each type should have a.txt file. That'll be deleted on
char *dump(void *val)
and avoid *load(char *val)
which will be used internally on set and update to save the dumped version so adel
and etc etc.Don't know if we'll have problems with race conditions or anything, just random thoughts.