git-hulk commented on code in PR #70:
URL: 
https://github.com/apache/incubator-kvrocks-website/pull/70#discussion_r1144171159


##########
blog/2021-11-07-how-to-implement-bitmap-on-rocksdb/index.md:
##########
@@ -33,23 +33,23 @@ amplification ratio = (1 + 10 + 100 +1000 + 10000 + 100000 
+ 1000000) * M / (100
 
 However, the magnification space rate is much larger than this theoretical 
value since the last layer generally cannot reach the maximum value. It is also 
mentioned in the RocksDB documentation. For details see also RockDB's blog 
["Dynamic Level Size for Level-Based 
Compaction"](https://rocksdb.org/blog/2015/07/23/dynamic-level.html).
 
-In addition, since RocksDB reads and writes are all based on key-value, the 
larger the value, the greater the read-write amplification may be. For example, 
suppose there is a JSON with a Value of 10 MiB. If you want to modify a field 
in this key, you need to read the entire JSON, modify and write it back again, 
which will cause huge read-write amplification. The paper ["WiscKey: Separating 
Keys from Values ​​in SSD-conscious 
Storage"](https://www.usenix.org/system/files/conference/fast16/fast16-papers-lu.pdf)
 that optimizes the large Key-Value of LSM-Tree by separating key-value to 
reduce the write amplification problem caused by Compaction. The 
[titan](https://github.com/tikv/titan) project of TiKV is based on WiscKey 
paper to optimize RocksDB's write amplification in large key-value scenarios. 
RocksDB also implements this function in the community version, but it is still 
in an experimental stage.
+In addition, since RocksDB reads and writes are all based on key-value, the 
larger the value, the greater the read-write amplification may be. For example, 
suppose there is a JSON with a Value of 10 MiB. If you want to modify a field 
in this key, you need to read the entire JSON, modify and write it back again, 
which will cause huge read-write amplification. The paper ["WiscKey: Separating 
Keys from Values in SSD-conscious 
Storage"](https://www.usenix.org/system/files/conference/fast16/fast16-papers-lu.pdf)
 that optimizes the large Key-Value of LSM-Tree by separating key-value to 
reduce the write amplification problem caused by Compaction. The 
[titan](https://github.com/tikv/titan) project of TiKV is based on WiscKey 
paper to optimize RocksDB's write amplification in large key-value scenarios. 
RocksDB also implements this function in the community version, but it is still 
in an experimental stage.

Review Comment:
   Good catch.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to