Invention Grant
- Patent Title: Method and device for storing high-concurrency data
-
Application No.: US15542088Application Date: 2016-01-07
-
Publication No.: US11327945B2Publication Date: 2022-05-10
- Inventor: Jian Lan
- Applicant: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY CO., LTD. , BEIJING JINGDONG CENTURY TRADING CO., LTD.
- Applicant Address: CN Beijing; CN Beijing
- Assignee: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY CO., LTD.,BEIJING JINGDONG CENTURY TRADING CO., LTD.
- Current Assignee: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY CO., LTD.,BEIJING JINGDONG CENTURY TRADING CO., LTD.
- Current Assignee Address: CN Beijing; CN Beijing
- Agency: Michael Best & Friedrich LLP
- Priority: CN201510009667.2 20150108
- International Application: PCT/CN2016/070397 WO 20160107
- International Announcement: WO2016/110263 WO 20160714
- Main IPC: G06F16/23
- IPC: G06F16/23 ; G06F16/2458 ; G06F16/27

Abstract:
A method and device for storing high-concurrency data. The method comprises: receiving high-concurrency data sent from a plurality of clients (110); pushing the high-concurrency data into a primary data queue, and responding to a corresponding client (120); consuming the high-concurrency data in the primary data queue by using multithreading (130); fragmenting the high-concurrency data according to the number of local queues (140); pushing the fragmented high-concurrency data into the local queues (150); and consuming the high-concurrency data in the local queues and storing the high-concurrency data in a database (160). By means of data asynchronous storage, high-concurrency data is temporarily stored in the primary data queue and the local queues, thereby alleviating pressure on the database, avoiding the problem of a database crash in the case of a high-concurrency storage, and improving the efficiency of storing high-concurrency data.
Public/Granted literature
- US20180276265A1 METHOD AND DEVICE FOR STORING HIGH-CONCURRENCY DATA Public/Granted day:2018-09-27
Information query