Skip to content
marie-fourier edited this page Jan 6, 2025 · 1 revision

DB

db package provides an abstraction layer for persistent storage and in-memory storage logic. It allows for seamless interaction with different types of storages, enabling developers to switch between persistent and in-memory storage without changing the core application logic.

Implementations:

  • rocksDB: Implementation for interacting with rocksdb.
  • localDB: implementation for in-memory storage, useful for caching or temporary data storage during application runtime.

This package is designed to be extensible, allowing developers to add support for new storage as needed.

Clone this wiki locally