Database

What are the Meshery Databases?

Meshery Databases function as repositories for MeshSync, user preferences and system settings. Both databases are considered ephemeral and should be treated as caches. Data retention is tethered to the lifetime of their Meshery Server instance. Remote Providers may offer long-term data persistence. Meshery’s APIs offer mechanisms for clients, like mesheryctl and Meshery UI to retrieve data.

See the figure below for additional details of the data formats supported and type of data stored.

Architecture Diagram

Components

Meshery Database has several kinds of database implementations to support various usecases. They are listed below:

Component Library
Bitcask git.mills.io/prologic/bitcask
SQLite gorm.io/gorm, gorm.io/driver/sqlite