Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Web-based distributed concurrency control method

A control method and distributed technology, applied in the field of network communication, can solve problems such as low overall performance and unbalanced cluster concurrency control.

Inactive Publication Date: 2018-09-21
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this method is simple, flexible, and easy to implement, it needs to request a token from the central server every time a service responds, resulting in low overall performance. At the same time, some servers request more tokens, and some request tokens Few cards lead to imbalance in cluster concurrency control

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
  • Web-based distributed concurrency control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.

[0019] A web-based distributed concurrency control method in this embodiment includes a concurrency control server and a cluster server, the concurrency control server is used to generate a token, and sends the token to the cluster server; the cluster server is used to Requesting a token from the concurrency control server and returning the token to the concurrency control server; the token is used by the concurrency control server to control whether the cluster server can execute the requested service;

[0020] Realize the concurrency control of the cluster. By setting up a concurrency control server, when the nodes of the cluster server receive a request, the cluster server will request a token from the concurrency controller. If the request is received, the service can be executed. Therefore, the ...

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 web-based distributed concurrency control method, and the method is characterized by comprising a concurrency control server and a cluster server, wherein the concurrency control server is used for generating a token and sending the token to the cluster server; the cluster server is used for requesting for the token from the concurrency control server and returning back the token to the concurrency control server; and by setting a timer and a limit value, interaction between the cluster server and the concurrency control server is completed according to the limit value. The invention provides the web-based distributed concurrency control method, interactions in a concurrency control process is reduced through a pre-allocation method, performance of cluster concurrency control is promoted, and an unbalance phenomenon in cluster concurrency control is balanced through dynamic recovery and reallocation.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a web-based distributed concurrency control method. Background technique [0002] At present, people use Internet services more and more widely, and more and more services are carried on the web. The previous method of providing services by a single server can no longer meet people's needs, so various cluster service methods are also available. It becomes more and more suitable for development and becomes popular. [0003] In cluster services, concurrency control has always been a problem. The method of dealing with cluster server concurrency control in the prior art is to set up a central server. After the cluster nodes receive the request, they request an execution token from the central server. If the request arrives Just execute the service, if the token on the central server is requested (that is, has reached the maximum concurrent value), then refuse to execute the ser...

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): H04L29/08H04L9/32
CPCH04L9/3213H04L67/025H04L67/10
Inventor 刘杰黄衍博史伟
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products