Skip to main content
QUICK REVIEW

[Paper Review] ChainifyDB: How to Blockchainify any Data Management System

Felix Schuhknecht, Ankur Sharma|arXiv (Cornell University)|Dec 10, 2019
Blockchain Technology Applications and SecurityComputer Science26 references5 citations
TL;DR

ChainifyDB introduces a novel blockchain layer that 'blockchainifies' existing, heterogeneous database management systems by decoupling consensus from transaction ordering through the Whatever-LedgerConsensus (WLC) model. By reaching consensus on execution effects rather than transaction order, it enables high-throughput, resilient integration of diverse DBMSs without requiring deterministic execution or tamper-proof local storage, achieving up to 6x higher throughput than Fabric while supporting robust recovery from state deviations.

ABSTRACT

Today's permissioned blockchain systems come in a stand-alone fashion and require the users to integrate yet another full-fledged transaction processing system into their already complex data management landscape. This seems odd as blockchains and traditional DBMSs share large parts of their processing stack. Thus, rather than replacing the established data systems altogether, we advocate to simply 'chainify' them with a blockchain layer on top. Unfortunately, this task is far more challenging than it sounds: As we want to build upon heterogeneous transaction processing systems, which potentially behave differently, we cannot rely on every organization to execute every transaction deterministically in the same way. Further, as these systems are already filled with data and being used by top-level applications, we also cannot rely on every organization being resilient against tampering with its local data. Therefore, in this work, we will drop these assumptions and introduce a powerful processing model that avoids them in the first place: The so-called Whatever-LedgerConsensus (WLC) model allows us to create a highly flexible permissioned blockchain layer coined ChainifyDB that (a) is centered around bullet-proof database technology, (b) makes even stronger guarantees than existing permissioned systems, (c) provides a sophisticated recovery mechanism, (d) has an up to 6x higher throughput than the permissioned blockchain system Fabric, and (e) can easily be integrated into an existing heterogeneous database landscape.

Motivation & Objective

  • To address the high integration cost and complexity of deploying standalone blockchain systems in existing data management infrastructures.
  • To enable secure, scalable, and resilient blockchain functionality on heterogeneous, pre-existing database systems that may behave non-deterministically or be prone to data tampering.
  • To eliminate reliance on assumptions of deterministic transaction execution and immutable local storage in permissioned blockchain designs.
  • To design a blockchain layer that can be seamlessly integrated into existing, diverse database landscapes without requiring data migration or application rewrites.
  • To provide a recovery mechanism that allows organizations to detect and rehabilitate from state deviations without halting the entire network.

Proposed method

  • Introduce the Whatever-LedgerConsensus (WLC) model, which shifts consensus to the end of the pipeline, after transaction execution, to avoid assumptions about deterministic behavior during execution.
  • Implement the order-execute-consensus (OEC) processing model, where consensus is reached on the final state effects rather than on transaction order or execution logic.
  • Design a recovery mechanism that detects state deviations via cryptographic hashing of execution results and triggers rollback to the most recent checkpoint when inconsistencies are detected.
  • Support flexible consensus policies (e.g., Any-2, All-3) that allow the network to progress as long as a quorum of organizations agrees on the current state, even if some are recovering or delayed.
  • Integrate cryptographic signing and validation at multiple stages to ensure authenticity and integrity of transactions and consensus messages.
  • Leverage parallel transaction execution within blocks to maximize throughput by scheduling conflict-free transactions concurrently on the underlying DBMS.

Experimental results

Research questions

  • RQ1Can a blockchain layer be built on top of heterogeneous, non-deterministic, and potentially tamper-prone database systems without requiring full control over their execution semantics?
  • RQ2How can consensus be achieved on system state effects rather than transaction order in a way that ensures consistency and fault tolerance across diverse DBMSs?
  • RQ3What is the performance overhead of cryptographic operations and parallel execution in a blockchainified database system, and how can it be minimized?
  • RQ4How does the system handle state divergence and recovery when one or more organizations experience data corruption or slow processing?
  • RQ5What is the impact of block size and consensus policy on system throughput and liveness in a heterogeneous environment?

Key findings

  • ChainifyDB achieves up to 6x higher throughput than the permissioned blockchain system Hyperledger Fabric, primarily due to efficient parallel transaction execution.
  • Cryptographic operations—such as signing and validation—add only 7–8.5% overhead to throughput, demonstrating minimal performance impact.
  • The system successfully detects state deviations caused by data corruption or non-deterministic execution and triggers recovery from the most recent checkpoint, restoring consistency.
  • In heterogeneous setups with slow or failing organizations, ChainifyDB maintains network liveness by relying on consensus policies like Any-2, allowing other organizations to continue progressing.
  • In homogeneous environments, recovery from state deviation affects only the recovering organization and does not penalize the rest of the network, with recovery taking only around 4 seconds.
  • Increasing block size improves throughput due to better utilization of parallel execution, with performance scaling logarithmically with block size.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.