A 3 Leveled in-memory database where the 3rd is persistent.
A 3 Leveled in-memory database where the 3rd is persistent.
For custom configurations read documentation on website: http://www.swaydb.io/configuring-levels
Type of key
Type of value
Root directory for all Level where appendix folder & files are created
Size of LevelZero's maps (WAL)
Total size of in-memory Level (Level1) before Segments gets pushed to persistent Level (Level2)
Numbers of Segments to push from in-memory Level (Level1) to persistent Level (Level2)
Size of Level1's Segments
Size of Level2's Segments
Memory-maps Level2 Segments
Memory-maps Level2's appendix file
Secondary directories for all Levels where Segments get distributed.
Controls the write speed.
Converts keys to Bytes
Converts values to Bytes
Sort order for keys
Database instance