azhsmesos commented on issue #65: URL: https://github.com/apache/rocketmq-mqtt/issues/65#issuecomment-1179530382
I have an idea that I want to implement it in this way. Referring to the LSM tree model, write data in sequence and build an index structure. The index only stores the offset of the key on the disk, and an extra byte is added after the key to store the offset of the corresponding value on the disk. Consider deleting and compaction operations, such as the garbage debris that results from a remove operation and how to compaction a memory block。 is a simple idea -- 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]
