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

Claim 14:
15. A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable medium and that, when executed by a processor, cause a computer apparatus to:
create a first tablespace carrying a first identifier before establishing a first connection, wherein the first identifier indicates a first node;
establish the first connection to a client;
enable the first connection to carry the first identifier after determining the first node;
receive a first read/write request from the client using the first connection;
determine the first tablespace corresponding to the first connection;
determine, from a plurality of second nodes and based on the first identifier, the first node corresponding to the first connection or the first tablespace, wherein the computer apparatus comprises the second nodes, and wherein each of the second nodes comprises a first processor and a first memory;
load data in the first tablespace to a second memory in the first node; and
process the first read/write request using a first working thread that is generated by a second processor in the first node,
wherein the computer apparatus further comprises a first thread pool and a second 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
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.