Data is critical for the operation of any organization and needs to be protected, especially against attacks that compromise the state of the database. In this paper, we explore an approach based on Byzantine-fault tolerant replicated state machines, built on top of a deterministic extension of PostgreSQL. Each replica deterministically executes transactions recorded in a shared log/blockchain. Our focus is on creating a practical system that is designed for efficient and quick detection of corruption, as well as quick repair concurrent with execution of transactions. We also present a performance study showing the efficiency and practicality of our approach. We believe our work lays the foundations for the practical use of the BFT replicated state machine approach in the context of databases.
翻译:数据对任何组织的运作都至关重要,需要受到保护,尤其是针对危害数据库状态的攻击。本文探索了一种基于拜占庭容错复制状态机的方法,该方法构建在PostgreSQL的确定性扩展之上。每个副本确定性地执行记录在共享日志/区块链中的事务。我们的重点是创建一个实用系统,旨在高效快速地检测数据损坏,并在执行事务的同时进行快速修复。我们还展示了一项性能研究,证明了我们方法的效率和实用性。我们相信,我们的工作为BFT复制状态机方法在数据库领域的实际应用奠定了基础。