PragmaTwice commented on PR #2142: URL: https://github.com/apache/kvrocks/pull/2142#issuecomment-1986792491
> > Based on the current design, typically one Redis key will introduce a maximum of 16384 RocksDB keys (registers). Each value corresponding to a RocksDB key contains only one integer. This may be inefficient; merging multiple registers onto one key could reduce the number of keys introduced. WDYT? > > There're two parts of things. > > 1. Bitmap type can be used to do the dense logic, which would reducing the keycount > 2. sparse hll type can be introduced to save some overhead here. So I think the question is, should we also introduce two mode of hll encoding (sparse and dense layout) and an auto switching policy between these two layout? -- 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]
