Recent Artilces

BLOG

Storage

← All Topics

The database layer of IOST is structured as below:

statedb

The lowest level is Storage, which provides final persistence of data. We adopt the simplest key-value database form factor, and achieve access to different databases by writing to different database backends.

Due to the paradigm of data handling on the blockchain, we use MVCC cache to process requests and cache them concurrently in memory. This improves usability and performance.

The out-most layer is Commit Manager, which handles the management and maintenance of multi-version data. Higher layers, therefore, can treat the interface as a typical database and switch to any version at will.

Last Updated On August 01, 2019
Vote For Us
Vote for IOST Watch and receive Daily IOST reward