The invention discloses a design for improving the
concurrency capability of an
NoSQL non-
relational database under a multi-core architecture, and belongs to the field of
database system architectures. Multiple threads of the Sudis make full use of the multi-core
advantage, different
thread pool configurations can be carried out according to different cpu, the Sudis is divided into multiple thread pools, the thread pools can not interfere with one another, the performance of the Sudis is improved, long connection can be established between a user and the Sudis, the long connection exists in the form of clients in the Sudis, each
client has a unique ID, and the service life of the user is prolonged. The method comprises the steps that a
client side sends a request to a receiving thread for
processing, the request of the Sudis is divided into
processing of one key or multiple keys, when a single key is processed, calculation distribution is directly carried out, all the requests of the key are distributed to the same thread for
processing, locking is not needed, multi-thread locking expenses are saved, aggressive distribution processing is carried out on the multiple keys in sequence, and the processing efficiency is greatly improved. And after the last thread finishes key processing, results are summarized, so that the performance of the whole
system is improved.