This is a nice project.
Hardcoding "aws" in the core seems like an odd choice though. Wouldn't it be better to make it agnostic and provide some sort of a trigger where a an external script or util to handle backups? That is, why S3 and why not any other service?
Not yet implemented. I’m hoping to get that fixed today.
I mostly use slaves for recovery with the database dumps as a last resort. So I overlooked that.
Amazing!
Do you have any special config to sync to replica before accepting incoming connections in a straightforward manner?
Yea we have external management software we wrote. We’ve been looking into releasing this as well, but it’s not cleaned up yet.
Looking forward to that. In the meanwhile I'll wait and test the S3 option when it's live.
I just implemented S3 loading in this change: https://github.com/JohnSully/KeyDB/commit/a45f212693956a6fb1...
Its currently in the unstable branch, once it gets shaken out a bit I'll release 0.9.3 with it included.
Eg: Running KeyDB on AWS, the EC2 instance fails and is replaced by another one running the same config. Will it read the last S3 dump on startup?