"WiscKey: Separating Keys from Values in SSD-conscious Storage" is a research paper published in the 2019 IEEE 15th International Conference on Embedded and Ubiquitous Computing (EUC). The authors propose a new file system called "WiscKey" that efficiently stores and retrieves data in solid-state drives (SSDs).
The paper starts by discussing the limitations of traditional file systems in handling SSDs. SSDs have a limited number of write operations before they wear out, which means that traditional file systems must manage these operations carefully to avoid excessive wear and tear. The authors propose that keys and values should be stored in separate locations on the SSD to minimize the number of writes.
WiscKey uses a variety of techniques to achieve this. First, it uses a data structure called a "key hash tree" to store the keys. Key hash trees are data structures that allow for efficient key-value lookups by using a fixed-size hash function to determine the location of the key. WiscKey uses a hash function called "Quadratic Probing" that takes the key's hash value and the number of keys in the hash tree to determine the location of the key.
The authors also propose a data structure called a "value hash tree" to store the values. Like the key hash tree, the value hash tree uses a fixed-size hash function to determine the location of the value. WiscKey uses a hash function called "Linear Probing" that takes the value's hash value and the number of values in the hash tree to determine the location of the value.
To optimize the storage of keys and values, WiscKey uses a technique called "value clustering." Value clustering involves grouping values together based on their hash values to reduce the number of writes required to store a group of values. WiscKey uses a hash value threshold of 1/4 of the hash table size to determine the minimum size of a value cluster.
To further improve the performance of WiscKey, the authors propose the use of a technique called "early release." Early release involves releasing data blocks from the cache when they are no longer being used to free up space. WiscKey uses a set of thresholds to determine when a data block should be released from the cache. These thresholds take into account the size