Fast and Interactive Byzantine Fault-tolerant Web Services via Session-Based Consensus Decoupling
Preprint
Abstract
Byzantine fault-tolerant (BFT) web services provide critical integrity guarantees for distributed applications but face significant latency challenges that hinder interactive user experiences. We propose a novel two-layer architecture that addresses this fundamental tension between security and responsiveness in BFT systems. Our approach introduces a session-aware transaction buffer layer (Layer 2) that delivers immediate feedback to users through consensus simulation, while periodically committing batched operations to a fully Byzantine fault-tolerant consensus layer (Layer 1). By separating interactive operations from consensus finalization, our system achieves responsive user experiences of under 200ms, while maintaining strong BFT security guarantees. We demonstrate the efficacy of our architecture through a supply chain management implementation, where operators require both immediate feedback during multi-step workflows and tamper-proof record keeping. Our evaluation shows that our Layer 2 operations perform four times faster than the Layer 1 counterpart, while substantially preserving the end-to-end transaction integrity. Our approach enables BFT applications in domains previously considered impractical due to latency constraints, such as metaverse environments, where users require both responsive interaction and guaranteed state consistency.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- A Survey of the Real-Time Metaverse: Challenges and OpportunitiesFuture Internet, 2024
- Web3.0 Data Infrastructure: Challenges and OpportunitiesIEEE Network, 2023
- Blockchain Scaling Using Rollups: A Comprehensive SurveyIEEE Access, 2022
- Revisiting Tendermint: Design Tradeoffs, Accountability, and Practical Use2022
- Measuring Web Session Security at ScaleComputers & Security, 2021
- WebBFT: Byzantine Fault Tolerance for Resilient Interactive Web Applications2018
- Practical byzantine fault tolerance and proactive recoveryACM Transactions on Computer Systems, 2002
- The Byzantine Generals ProblemACM Transactions on Programming Languages and Systems, 1982