-
Notifications
You must be signed in to change notification settings - Fork 583
Enhanced FLASH Support (PRO)
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.
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.
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/
For more information on KeyDB Pro see the Pro wiki page