Publication:

SCEW: Programmable BFT-Consensus with Smart Contracts for Client-Centric P2PWeb Applications

Date

 
cris.virtual.department#PLACEHOLDER_PARENT_METADATA_VALUE#
cris.virtual.orcid#PLACEHOLDER_PARENT_METADATA_VALUE#
cris.virtualsource.department988e3aad-2b23-47a1-9bad-2a76c4565652
cris.virtualsource.orcid988e3aad-2b23-47a1-9bad-2a76c4565652
dc.contributor.authorSauwens, Martijn
dc.contributor.authorJannes, Kristof
dc.contributor.authorLagaisse, Bert
dc.contributor.authorJoosen, Wouter
dc.date.accessioned2026-05-05T08:22:07Z
dc.date.available2026-05-05T08:22:07Z
dc.date.createdwos2025-10-18
dc.date.issued2021
dc.description.abstractCollaborative web applications are becoming increasingly client-centric, with technologies such as WebRTC, WebWorkers and IndexedDB enabling a shift towards a decentralized peer-to-peer (P2P) model. Contemporary systems such as Automerge, Legion, OWebSync and Yjs provide fault tolerance and consistency by using Conflict-free Replicated Data Types for synchronization. These systems tolerate crash-faults, but lack resilience against arbitrary faults and malicious users, also known as Byzantine faults. Providing Byzantine fault tolerance (BFT) in web apps is non-trivial. Web apps are executed in web browsers on end user devices. The scarce compute resources and the interactive nature of collaborative web apps do require both a lightweight and low-latency solution, while still providing the Byzantine fault tolerance required by P2P systems to protect shared assets. Our work aims to fill this gap by indroducing SCEW, a programming framework for client-centric P2P web apps that require BFT and interactive collaboration. SCEW achieves this by combining state-based Convergent Replicated Data Types (CvRDTs) and smart contracts. SCEW represents assets shared by peers as CvRDTs with atomic register semanctics, that provide BFT through the use of BFT-consensus algorithms. SCEW employs smart contracts to define the life-cycle of these shared assets, shielding the application and it's developers from the complexity of the CvRDT's consensus protocol. Experimental results indicate that applications using SCEW can support P2P networks with 100 peers, even when Byzantine faults are present.
dc.identifier.doi10.1145/3447865.3457965
dc.identifier.urihttps://imec-publications.be/handle/20.500.12860/59323
dc.language.isoeng
dc.provenance.editstepusergreet.vanhoof@imec.be
dc.publisherASSOC COMPUTING MACHINERY
dc.source.beginpage2
dc.source.conference16th European Conference on Computer Systems - EuroSys
dc.source.conferencedate2021-04-26
dc.source.conferencelocationVirtual
dc.source.journal8TH WORKSHOP ON PRINCIPLES AND PRACTICE OF CONSISTENCY FOR DISTRIBUTED DATA, PAPOC 2021
dc.source.numberofpages7
dc.subject.keywordsBYZANTINE GENERALS
dc.title

SCEW: Programmable BFT-Consensus with Smart Contracts for Client-Centric P2PWeb Applications

dc.typeProceedings paper
dspace.entity.typePublication
imec.internal.crawledAt2025-10-22
imec.internal.sourcecrawler
Files
Publication available in collections: