Yugabyte open source covers a lot of this