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

Claim 7:
8. A computer apparatus comprising:
an interface;
a plurality of second nodes coupled to the interface and comprising a first node, wherein the first node comprises a memory and a second processor;
a first processor coupled to the interface and the second nodes and configured to:
create a first tablespace carrying a first identifier, and wherein the first identifier indicates the first node;
establish a first connection to a client;
enable the first connection to carry the first identifier;
receive a first read/write request from the client using the first connection;
determine the first tablespace corresponding to the first connection;
determine the first node corresponding to the first connection or the first tablespace;
load data in the first tablespace to the memory; and
process the first read/write request using a first working thread that is generated by the second processor;

a first thread pool, wherein a second working thread in the first thread pool is configured to process a second read/write request on a second connection carrying the first identifier; and
a second thread pool, wherein a third working thread in the second thread pool is configured to process a third read/write request on a third connection that does not carry the first identifier, and
wherein the first processor is further configured to enable the first connection to carry the first identifier.