This paper presents an experimental framework for implementing Decentralized Autonomous Database Systems (DADBS) using the Rust programming language. As traditional centralized databases face challenges in scalability, security, and autonomy, DADBS emerge as a promising solution, using blockchain principles to create distributed, self-governing database systems. Our framework explores the practical aspects of building a DADBS, focusing on Rust's unique features that improves system reliability and performance. We evaluated our DADBS implementation across several key performance metrics: throughput, latency(read), latency(write), scalability, CPU utilization, Memory Usage and Network I/O, The average results obtained over a 24-hour period of continuous operation were 3,000 transactions/second, 75 ms, 250 ms, 55%, 2.5 GB, 100MB/s. The security analysis depicts that even with an increase in the percentage of malicious nodes, DADBS still maintains high throughput and consistency. The paper discusses key design decisions, highlighting how Rust's ownership model and concurrency features address common challenges in distributed systems. We also examine the current limitations of our approach and potential areas for future research. By providing this comprehensive overview of a Rust-based DADBS implementation, we aim to contribute to the growing body of knowledge on decentralized database architectures and their practical realization.
翻译:本文提出了一种使用 Rust 编程语言实现去中心化自治数据库系统(DADBS)的实验框架。面对传统集中式数据库在可扩展性、安全性和自主性方面的挑战,DADBS 作为一种有前景的解决方案应运而生,它利用区块链原理构建分布式、自治的数据库系统。我们的框架探讨了构建 DADBS 的实践层面,重点关注 Rust 语言在提升系统可靠性与性能方面的独特优势。我们对 DADBS 实现进行了多项关键性能指标评估:吞吐量、读取延迟、写入延迟、可扩展性、CPU 利用率、内存使用量和网络 I/O。在连续运行 24 小时期间获得的平均结果为:每秒 3,000 笔交易、75 毫秒、250 毫秒、55%、2.5 GB、100 MB/秒。安全性分析表明,即使恶意节点比例增加,DADBS 仍能保持高吞吐量与一致性。本文讨论了关键的设计决策,重点阐述了 Rust 的所有权模型和并发特性如何应对分布式系统中的常见挑战。我们还探讨了当前方法的局限性以及未来研究的潜在方向。通过提供这份基于 Rust 的 DADBS 实现的全面概述,我们旨在为不断增长的去中心化数据库架构及其实际实现的知识体系做出贡献。