{"document":{"doc_id":84103,"source":"fed_paper","org":"FRB","doc_type":"Finance and Economics Discussion Series","title":"Heraclius: A Byzantine Fault Tolerant Database System with Potential for Modern Payments Systems","date":"2025-02-12","url":"https://www.fedinprint.org/item/fedgfe/99579/original","source_native_id":"fedgfe:99579","status":"fetched","abstract":"Modern payments systems are critical infrastructure for the US and global economy, and they all utilize computing systems to facilitate transactions. These computing systems can be vulnerable to failures and an outage of a payment system could cause a serious ripple effect throughout the economy it supports.\n\nCommonly used designs in existing distributed computer systems often lack a built-in defense against certain types of failures (e.g., malicious attacks and silent data corruption) and rely on preventing these failures from happening in the first place via techniques external to the system itself. These computer system failures can cause downtime in the systems (e.g., modern payments systems) that rely on them. Byzantine Fault Tolerant (BFT) systems have the potential of improved resiliency and security. BFT systems can tolerate a larger range of failure modes than contemporary designs but suffer from performance challenges. Our work sought to design and evaluate a scalable BFT architecture and compare its properties to other database architectures used in payments infrastructure. This analysis is intended to better understand technical tradeoffs and is agnostic to broader policy or operational considerations.\n\nIn this paper, we present Heraclius, a parallelizable leader-based, BFT key-value store that could be extended for use in payment systems. Heraclius executes transactions in parallel to achieve high transaction volumes. We analyze the scalability of the protocol, bottlenecks and potential solutions to the bottlenecks. We ran the prototype implementation with up to 256 nodes and achieved a transactional volume of 110 thousand operations per second with a transaction latency 0.2 seconds.","action":null},"dockets":[],"rins":[],"related":[],"references":[{"citation_id":4636407,"raw_reference":"A History of AWS Cloud and Data Center Outages, https://www.datacenterknowledge.com/outages/a-history-of-aws-cloud-and-data-centeroutages (Apr 2024)","cited_authors":null,"cited_year":"2024","cited_title":"A History of AWS Cloud and Data Center Outages","cited_venue":"Data Center Knowledge","cited_doi":null,"cited_url":"https://www.datacenterknowledge.com/outages/a-history-of-aws-cloud-and-data-centeroutages","ref_kind":"web_page","section":"References, page 12","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636408,"raw_reference":"Artem Barger, Yacov Manevich, Hager Meir, and Yoav Tock, A Byzantine Fault-Tolerant Consensus Library for Hyperledger Fabric, https://arxiv.org/abs/2107.06922 (Jul 2021).","cited_authors":"Artem Barger, Yacov Manevich, Hager Meir, Yoav Tock","cited_year":"2021","cited_title":"A Byzantine Fault-Tolerant Consensus Library for Hyperledger Fabric","cited_venue":"arXiv","cited_doi":"10.1109/icbc51069.2021.9461099","cited_url":"https://arxiv.org/abs/2107.06922","ref_kind":"working_paper","section":"References, page 12","page":null,"context_sentence":null,"paper_id":143122,"paper_title":"A Byzantine Fault-Tolerant Consensus Library for Hyperledger Fabric","paper_year":2021,"paper_doi":"10.1109/icbc51069.2021.9461099"},{"citation_id":4636409,"raw_reference":"Daniel Bennarroch et al., Zero-Knowledge Proofs for Set Membership: Efficient, Succinct, Modular, https://eprint.iacr.org/2019/1255.pdf (2019)","cited_authors":"Daniel Bennarroch et al.","cited_year":"2019","cited_title":"Zero-Knowledge Proofs for Set Membership: Efficient, Succinct, Modular","cited_venue":"IACR ePrint","cited_doi":null,"cited_url":"https://eprint.iacr.org/2019/1255.pdf","ref_kind":"working_paper","section":"References, page 12","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636410,"raw_reference":"Diego Ongaro and John Ousterhout, In Search of An Understandable Consensus Algorithm (Extended Version), https://raft.github.io/raft.pdf (May 2014).","cited_authors":"Diego Ongaro, John Ousterhout","cited_year":"2014","cited_title":"In Search of An Understandable Consensus Algorithm (Extended Version)","cited_venue":null,"cited_doi":null,"cited_url":"https://raft.github.io/raft.pdf","ref_kind":"working_paper","section":"References, page 12","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636411,"raw_reference":"Haryadi Gunawi et al., Fail-Slow at Scale: Evidence of Hardware Performance Faults in Large Production Systems. Proceedings of the 16th USENIX Conference on File and Storage Technologies, https://ucare.cs.uchicago.edu/pdf/fast18-failSlowHw.pdf (Feb 2016).","cited_authors":"Haryadi Gunawi et al.","cited_year":"2016","cited_title":"Fail-Slow at Scale: Evidence of Hardware Performance Faults in Large Production Systems","cited_venue":"Proceedings of the 16th USENIX Conference on File and Storage Technologies","cited_doi":"10.1145/3242086","cited_url":"https://ucare.cs.uchicago.edu/pdf/fast18-failSlowHw.pdf","ref_kind":"conference_paper","section":"References, page 12","page":null,"context_sentence":null,"paper_id":143123,"paper_title":"Fail-Slow at Scale: Evidence of Hardware Performance Faults in Large Production Systems","paper_year":2018,"paper_doi":"10.1145/3242086"},{"citation_id":4636412,"raw_reference":"James Lovejoy, Anders Brownworth, Madars Virza, and Neha Narula, PARSEC: Executing Smart Contracts in Parallel, https://static1.squarespace.com/static/59aae5e9a803bb10bedeb03e/t/64c90f6427f7101a41668817/1719943974451/p.pdf (Oct 2023).","cited_authors":"James Lovejoy, Anders Brownworth, Madars Virza, Neha Narula","cited_year":"2023","cited_title":"PARSEC: Executing Smart Contracts in Parallel","cited_venue":null,"cited_doi":null,"cited_url":"https://static1.squarespace.com/static/59aae5e9a803bb10bedeb03e/t/64c90f6427f7101a41668817/1719943974451/p.pdf","ref_kind":"working_paper","section":"References, page 12","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636413,"raw_reference":"James Lovejoy et al., Hamilton: A High-Performance Transaction Processor for Central Bank Digital Currencies. Proceedings of the 20th USENIX Symposium on Networked Systems Design and Implementation, https://www.usenix.org/system/files/nsdi23-lovejoy.pdf (Apr 2023).","cited_authors":"James Lovejoy et al.","cited_year":"2023","cited_title":"Hamilton: A High-Performance Transaction Processor for Central Bank Digital Currencies","cited_venue":"Proceedings of the 20th USENIX Symposium on Networked Systems Design and Implementation","cited_doi":null,"cited_url":"https://www.usenix.org/system/files/nsdi23-lovejoy.pdf","ref_kind":"conference_paper","section":"References, page 12","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636414,"raw_reference":"Kyle Croman, On Scaling Decentralized Blockchains, https://people.eecs.berkeley.edu/~dawnsong/papers/On%20Scaling%20Decentralized%20Blockchains_feb%202016.pdf (Feb 2016).","cited_authors":"Kyle Croman","cited_year":"2016","cited_title":"On Scaling Decentralized Blockchains","cited_venue":null,"cited_doi":"10.1007/978-3-662-53357-4_8","cited_url":"https://people.eecs.berkeley.edu/~dawnsong/papers/On%20Scaling%20Decentralized%20Blockchains_feb%202016.pdf","ref_kind":"working_paper","section":"References, page 13","page":null,"context_sentence":null,"paper_id":143124,"paper_title":"On Scaling Decentralized Blockchains","paper_year":2016,"paper_doi":"10.1007/978-3-662-53357-4_8"},{"citation_id":4636415,"raw_reference":"Leslie Lamport, Robert Shostak, and Marshall Pease, The Byzantine General's Problem. ACM Transactions on Programming Languages and Systems v4 Is. 2, p. 382 https://dl.acm.org/doi/10.1145/357172.357176 (Jul 1982).","cited_authors":"Leslie Lamport, Robert Shostak, Marshall Pease","cited_year":"1982","cited_title":"The Byzantine General's Problem","cited_venue":"ACM Transactions on Programming Languages and Systems","cited_doi":"10.1145/357172.357176","cited_url":"https://dl.acm.org/doi/10.1145/357172.357176","ref_kind":"journal_article","section":"fn xii","page":null,"context_sentence":null,"paper_id":81237,"paper_title":"The Byzantine Generals Problem","paper_year":1982,"paper_doi":"10.1145/357172.357176"},{"citation_id":4636416,"raw_reference":"Maofin Yin et al., HotStuff: BFT Consensus in the Lens of Blockchain, https://arxiv.org/abs/1803.05069 (Jul 2019).","cited_authors":"Maofin Yin et al.","cited_year":"2019","cited_title":"HotStuff: BFT Consensus in the Lens of Blockchain","cited_venue":"arXiv","cited_doi":null,"cited_url":"https://arxiv.org/abs/1803.05069","ref_kind":"working_paper","section":"References, page 13","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636417,"raw_reference":"Miguel Castro and Barbara Liskov, Practical Byzantine Fault Tolerance, Proceedings of the Third Symposium on Operating System Design and Implementation https://pmg.csail.mit.edu/papers/osdi99.pdf (Feb 1999).","cited_authors":"Miguel Castro, Barbara Liskov","cited_year":"1999","cited_title":"Practical Byzantine Fault Tolerance","cited_venue":"Proceedings of the Third Symposium on Operating System Design and Implementation","cited_doi":null,"cited_url":"https://pmg.csail.mit.edu/papers/osdi99.pdf","ref_kind":"conference_paper","section":"References, page 13","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636418,"raw_reference":"Remediation and Guidance Hub: Falcon Content Update for Windows Hosts, https://www.crowdstrike.com/falcon-content-update-remediation-and-guidance-hub/ (July 2024).","cited_authors":null,"cited_year":"2024","cited_title":"Remediation and Guidance Hub: Falcon Content Update for Windows Hosts","cited_venue":"CrowdStrike","cited_doi":null,"cited_url":"https://www.crowdstrike.com/falcon-content-update-remediation-and-guidance-hub/","ref_kind":"web_page","section":"References, page 13","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636419,"raw_reference":"Satoshi Nakamoto, Bitcoin: A Peer-to-Peer Electronic Cash System, https://bitcoin.org/bitcoin.pdf (Oct 2008).","cited_authors":"Satoshi Nakamoto","cited_year":"2008","cited_title":"Bitcoin: A Peer-to-Peer Electronic Cash System","cited_venue":null,"cited_doi":null,"cited_url":"https://bitcoin.org/bitcoin.pdf","ref_kind":"working_paper","section":"References, page 13","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636420,"raw_reference":"Trevor Perrin, The Noise Protocol Framework Revision 34, https://noiseprotocol.org/noise.pdf (July 2018).","cited_authors":"Trevor Perrin","cited_year":"2018","cited_title":"The Noise Protocol Framework Revision 34","cited_venue":null,"cited_doi":null,"cited_url":"https://noiseprotocol.org/noise.pdf","ref_kind":"web_page","section":"References, page 14","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null},{"citation_id":4636421,"raw_reference":"Weizhao Tang et al., CFT-Forensics: High-Performance Byzantine Accountability for Crash Fault Tolerant Protocols, https://arxiv.org/abs/2305.09123 (May 2023).","cited_authors":"Weizhao Tang et al.","cited_year":"2023","cited_title":"CFT-Forensics: High-Performance Byzantine Accountability for Crash Fault Tolerant Protocols","cited_venue":"arXiv","cited_doi":null,"cited_url":"https://arxiv.org/abs/2305.09123","ref_kind":"working_paper","section":"References, page 13","page":null,"context_sentence":null,"paper_id":null,"paper_title":null,"paper_year":null,"paper_doi":null}]}