Rust 中的分布式 SQL 数据库,作为教育项目编写
toyDB 旨在简单易懂,同时兼具功能性和正确性。其他方面,如性能、可扩展性和可用性,并不是目标 – 这些是生产级数据库中复杂性的主要来源,并掩盖了基本的底层概念。在可能的情况下,我们采用了捷径。最初,我于 2020 年编写了 toyDB,以便更好地了解数据库内部。此后,我花了数年时间在 CockroachDB 和 Neon 上构建真正的分布式 SQL 数据库。基于这一经验,我重写了 toyDB,将其作为分布式 SQL 数据库背后架构和概念的简单说明。
[raft]: https://github.com/erikgrinaker/toydb/blob/main/src/raft/mod.rs [txn]: https://github.com/erikgrinaker/toydb/blob/main/src/storage/mvcc.rs [storage]: https://github.com/erikgrinaker/toydb/blob/main/src/storage/engine.rs [bitcask]: https://github.com/erikgrinaker/toydb/blob/main/src/storage/bitcask.rs [memory]: https://github.com/erikgrinaker/toydb/blob/main/src/storage/memory.rs [query]: https://github.com/erikgrinaker/toydb/blob/main/src/sql/execution/executor.rs [optimizer]: https://github.com/erikgrinaker/toydb/blob/main/src/sql/planner/optimizer.rs [sql]: https://github.com/erikgrinaker/toydb/blob/main/src/sql/parser/parser.rs
暂无开放 Issues,或尚未同步最近议题。