im-vishesh15th/distri-kv ? reverse-engineered prompt
Reverse engineered prompt
Build me a fault tolerant distributed key value database in Go, with a simple hosted service on top.
I want it to let clients store, read, and delete keys through an API, and I want the data to be split across multiple nodes with Raft based replication so it stays working if a node or leader fails. It should support linearizable reads, snapshots, request deduplication, and basic recovery after crashes. Also add a multi tenant layer so different customers get isolated key spaces, API keys, quotas, and rate limits through a gateway, with a clean way to see usage and health.
Please include a small admin or console style interface for managing tenants and checking the cluster, plus a straightforward local setup with Docker Compose so I can run the whole thing on one machine. If you need to check current docs for anything, look them up online as you build it.
Are you gonna build this?
make sure you review the code using coderabbit