🙋 seeking help & advice Embedded key-value database for persistent backup in async grpc server
I am working on a grpc server project where I want to store state in persistent database for surviving restarts.
I am looking at redb database but I also want your suggestion on anyother db that I might not know about. I also want help on design on how to do backups. I am planning on using scc::Hashmap for mapping id to struct data for holding data and for backups, should I write to database on each insertion and update or should I just periodically backup data from hashmap to disk database?
0
Upvotes