What is Persy
Persy is durable isolated consistent and atomic storage engine written in Rust
Main Concepts
Storage
Persy is a single file storage engine, all the data, referencing structures and logs are kept in a single file
Transactions
Persy support read-committed transactions, using copy on write to guarantee high concurrency and isolation, the durability is guaranteed by a transaction log that recover the operations in case of crash
Segments
Persy provide segments to organize records of different kinds and allow the scan on a single segment
Indexes
Persy provide a BTree index implementation that can be used to associate any simple value to another value or a record reference
Records
In Persy a record is a simple Vec<u8>
, the content of the record is ignored by Persy, is just stored and retrieved on request