Formal Verification of COCO Database Framework Using CSP

Peimu Li, Jiaqi Yin, Huibiao Zhu

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Nowadays, many applications are built on distributed databases for scalability and high availability. Therefore, the architecture design of distributed databases needs to satisfy some functional properties to ensure that the database can perform transactions reliably and efficiently. COCO is a distributed OLTP database that supports epoch-based commit and replication and two variants of optimistic concurrency control which use physical time or logical time. In this paper, we first use process algebra CSP to model COCO's architecture. Then we use model checker PAT to verify seven properties, including deadlockfree, consistency, availability, partition tolerance (CAP), and basically availability, soft state, eventual consistency (BASE). The results show COCO's commit and replication protocol satisfy the CAP theorem, and two optimistic concurrency control variants satisfy the BASE theorem.

Original languageEnglish
Title of host publicationSEKE 2022 - Proceedings of the 34th International Conference on Software Engineering and Knowledge Engineering
PublisherKnowledge Systems Institute Graduate School
Pages363-368
Number of pages6
ISBN (Electronic)1891706543, 9781891706547
DOIs
StatePublished - 2022
Externally publishedYes
Event34th International Conference on Software Engineering and Knowledge Engineering, SEKE 2022 - Pittsburgh, United States
Duration: 1 Jul 202210 Jul 2022

Publication series

NameProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
ISSN (Print)2325-9000
ISSN (Electronic)2325-9086

Conference

Conference34th International Conference on Software Engineering and Knowledge Engineering, SEKE 2022
Country/TerritoryUnited States
CityPittsburgh
Period1/07/2210/07/22

Keywords

  • COCO
  • Distributed OLTP Database
  • Modeling
  • Process Algebra
  • Verification

Fingerprint

Dive into the research topics of 'Formal Verification of COCO Database Framework Using CSP'. Together they form a unique fingerprint.

Cite this