Skip to content

Enhanced FLASH Support (PRO)

John Sully edited this page Jan 7, 2020 · 4 revisions

KeyDB Pro includes a new enhanced FLASH storage feature based upon RocksDB. This new FLASH feature offsers substantially higher performance than was possible with our previous FLASH implementation. In addition FLASH offers persistent storage without requiring periodic RDB backups.

To enable FLASH support add the following lines to your configuration file:

# Enable the use of KeyDB Pro
enable-pro

# Enable FLASH
storage-provider flash /path/to/db

For best performance ensure your database file is on a fast drive, preferably NVMe.

Persistence

The FLASH storage provider is always persistent. There is no requirement to save or load RDB files if FLASH is used. You may disable periodic RDB saving by adding: save "" to your configuration file.

On boot KeyDB will load any existing data in your FLASH database.

Performance

KeyDB Pro's FLASH support offers near DRAM performance. For benchmarks and latency measurements see our blog post on this subject: https://docs.keydb.dev/blog/2020/01/05/blog-post/

Clone this wiki locally