CPC G06F 16/2246 (2019.01) [G06F 16/9027 (2019.01)] | 19 Claims |
1. A host communicating with a key-value storage device, the host comprising:
a host memory configured to store a tree structure including a leaf node and an index node including routing information about the leaf node; and
at least one processor configured to,
manage an index based on the tree structure,
generate a first log corresponding to the leaf node based on a first update request, the first update request corresponding to a first key-value entry included in the leaf node, the first log including a first value updated based on the first update request,
generate a first write command, the first write command corresponding to the first log, and
transmit the generated first write command to the key-value storage device so as to store the first log in the key-value storage device, wherein the at least one processor is further configured to,
generate a second log corresponding to the leaf node based on a second update request, the second update request corresponding to the first key-value entry included in the leaf node,
generate a first key of the first log so that the first key of the first log includes an identification of the leaf node as a prefix, and
generate a second key of the second log so that the second key of the second log includes the identification of the leaf node as a prefix.
|