DewDB: A Self-Contained Distributed Database That Handles Its Own Storage and Replication
A developer has built DewDB, a distributed database designed to manage storage, replication, leader election, failover, and sharding entirely within its own nodes, without relying on a separate storage layer like TiKV. The decision was deliberate: using TiKV would have reduced DewDB to merely a query and document layer sitting atop another distributed system. Each shard group in DewDB operates with its own leader and replicas, allowing independent write handling across shards. The project takes full ownership of complex internals including quorum logic, WAL recovery, shard ownership, and online migration. Though still early-stage, DewDB already supports documents, queries, secondary indexes, change streams, and online shard migration, with a public repository available on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in