Concurrent access processing method and device and computer storage medium

A processing unit and thread technology, applied in the field of information processing, can solve problems such as service crashes, affecting the stability and quality of concurrent access services, and achieve the effect of improving stability and quality

Inactive Publication Date: 2018-11-16
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, for high-frequency access services, the following processing is generally performed: firstly, a Redis connection pool is built, and each time a request arrives, a connection is obtained from the co

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Concurrent access processing method and device and computer storage medium
  • Concurrent access processing method and device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0033] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0034] figure 1 It is a flowchart of a method for concurrent access processing according to an embodiment of the present invention, such as figure 1 shown, including:

[0035] Step 101, for each thread in the thread pool, respectively initialize the rem...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Disclosed are a concurrent access processing method and device and a computer storage medium. The method comprises the steps that a remote dictionary server (Redis) connection pool in each thread in athread pool is initialized; the threads in the thread pool are used for concurrent access processing, wherein the thread pool includes a preset number of threads. By means of the embodiment, the stability and quality of concurrent access processing are improved.

Description

technical field [0001] This article involves but is not limited to information processing technology, especially a method, device and computer storage medium for concurrent access processing. Background technique [0002] In the field of the Internet, the remote dictionary server (Redis) is an open-source, log-type, key-value (Key-Value) database that is written in ANSI C language, supports the network, can be based on memory or persists, and provides applications in multiple languages. Program programming interface (API)) is a very efficient non-relational database based on memory, because it provides efficient data read and write operations, and supports strings (strings), linked lists (lists), collections (sets), ha Complex data structures such as hash are widely used in the industry; in addition, Redis supports cluster distributed master-slave deployment and expansion, and provides different levels of data persistence methods, so that service expansion and cluster disast...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/50
CPCG06F9/5005G06F9/5016G06F9/5083
Inventor 王伟亮
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products