NutsDB is an ACID-compliant, embedded transactional storage engine that functions as both a disk-backed key-value store and an in-memory data structure store. It provides atomic and serializable transactions with commit and rollback capabilities to ensure strict data consistency for applications requiring a lightweight persistence layer.
The engine distinguishes itself by supporting a variety of complex data types, including lists, sets, and sorted sets, alongside standard byte-slice storage. It implements a transactional storage model featuring hot backups and a compaction algorithm to maintain write performance and storage efficiency.
The system includes capabilities for atomic integer arithmetic, bitwise operations, and data expiration via time-to-live settings. Data retrieval is supported through cursor-based iteration and key pattern scanning using prefixes, ranges, or regular expressions. It also provides a watch system for real-time notifications when specific keys are modified.