High concurrency implementation method based on micro-service framework

An implementation method and technology of microservices, applied in the field of distributed systems, to achieve the effect of improving high concurrent processing capability, ensuring consistency, and reducing database pressure

Inactive Publication Date: 2019-12-13
SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the needs and deficiencies of the current technological development, the present invention provides a high concurrency implementation method based on the microservice framework to solve the high availability of the distributed system based on the microservice under high concurrency

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
  • High concurrency implementation method based on micro-service framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] This embodiment proposes a high concurrency implementation method based on the microservice framework.

[0041] A high concurrency implementation method based on a microservice framework, the implementation method includes:

[0042] A) Use nginx for front-end request distribution, so that customer requests are more evenly distributed on server load instances.

[0043] Using nginx to offload front-end requests can improve the horizontal expansion capability of the project architecture, thereby ensuring the high availability of the system under high concurrency.

[0044] In this embodiment, when executing A), the current limiting technology involved in nginx can limit the number of HTTP requests that a user can generate within a given time period, and prevent external brute force scanning by limiting the request speed, or slow down brute force password cracking attack;

[0045] In this embodiment, the involved nginx can also mark the target URL in combination with logs ...

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

The invention discloses a high concurrency implementation method based on a micro-service framework, and relates to the technical field of distributed systems. According to the technical scheme, front-end request shunting is carried out by using nginx. The transverse expansion capability of the distributed system is improved; a rabbion is used for loading a rear-end instance, and starting a multi-instance load for a certain service monomer application with a high-concurrency service requirement. Therefore, the high concurrent processing capability is improved. Read-write separation and master-slave backup are carried out by configuring a database. The occurrence of meter locking is reduced, the query speed is increased, and the consistency of master and slave library data is ensured. Common configuration data are cached by adopting redis, reading from a disk is avoided, the pressure of a database is reduced, the data reading efficiency is greatly improved, and finally, the parameters of middleware are optimized by adjusting the parameters influencing the high concurrency performance in the distributed system, so that the high availability of the distributed system in a high concurrency production environment is realized.

Description

technical field [0001] The invention relates to a distributed system, in particular to a high concurrency implementation method based on a microservice framework. Background technique [0002] With the development of computer science and network technology, the components and applications of system integration are becoming larger and larger. At this time, the problems exposed by the centralized deployment of single nodes are becoming more and more prominent. On the one hand, the processing power of a single node cannot meet the increasing computing and storage tasks, and hardware upgrades (adding memory, adding disks, and using better CPUs) are too expensive to be worth the candle, especially when the business is expanding horizontally. System performance bottleneck; on the other hand, due to the complexity of the system, the business system is deployed in a centralized manner, and the business granularity is relatively coarse, so it is impossible to perform targeted instanc...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/70G06F8/60G06F9/455G06F16/2453G06F16/27G06F16/23
CPCG06F8/60G06F8/70G06F9/45558G06F2009/45595G06F16/2365G06F16/2453G06F16/27
Inventor 王玮栋邵辉王宏达
Owner SHANDONG INSPUR GENESOFT 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