Patent ID: 11886731
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A network device comprising:
one or more processors; and
a memory coupled to the one or more processors and configured to store instructions, wherein when executed by the one or more processors, the instructions cause the network device to:
obtain hot data managed by a first cluster, wherein the first cluster comprises at least one first single-threaded main controller, wherein the at least one first single-threaded main controller processes an access request at a time, and wherein the access request requests data;
obtain a migration condition that indicates the hot data is to be migrated to a second cluster, wherein the second cluster comprises at least one second single-threaded main controller, and wherein the second cluster is configured to manage second hot data that is migrated according to the migration condition;
read a key corresponding to the hot data from the first cluster;
obtain a first hash slot in the second cluster based on the key;
migrate, in response to the migration condition being met, the hot data and the key to the first hash slot in the second cluster; and
trigger, in response to the migration condition being met, an update of an access path of the hot data.