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

Method and device for data updating in distributed cluster environment

A distributed cluster and data update technology, applied in the field of data processing, can solve problems such as DB server performance and reliability degradation, high DB server load, and high update failure rate, so as to improve throughput, improve performance and reliability, and reduce load effect

Active Publication Date: 2017-03-15
CAINIAO SMART LOGISTICS HLDG LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this solution ensures the accuracy of data updates, if the amount of concurrent updates to a piece of data is very large, the update failure rate will be very high, requiring continuous retries, which will inevitably lead to a high load on the DB server. Cause the performance and reliability of the DB server to decline, and even affect the performance of the entire system

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
  • Method and device for data updating in distributed cluster environment
  • Method and device for data updating in distributed cluster environment
  • Method and device for data updating in distributed cluster environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

[0016] The "application server" and "DB server" referred to in this context are computer devices, which refer to intelligent electronic devices that can perform predetermined processing procedures such as numerical calculations and / or logical calculations by running predetermined programs or instructions, which may include processing The processor and the memor...

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 provides a method and device for data updating in a distributed cluster environment. The method comprises the steps of trying to lock service objects recorded in a storage space shared with other application servers in a distributed system and targeted by an update request; if the locking is successful, updating corresponding data of the service objects in the distributed system; and after the updating is finished, releasing the locking of the service objects recorded in the storage space. According to the scheme, on the premise of not guaranteeing data updating accuracy, the reliability and performances of a DB server in the distributed cluster environment are improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a method and device for updating data in a distributed cluster environment. Background technique [0002] For a distributed cluster environment that processes massive data, it includes several distributed database (DB) server clusters and a larger number of distributed application server clusters. When there is an update request for the data of a business object (hereinafter referred to as data) in a certain DB of the DB server cluster, the update request is distributed to any application server in the application server cluster at random or according to a certain strategy. An application server reads data from the DB, modifies the data and then updates it to the DB. [0003] In a distributed high-concurrency cluster environment, high-concurrency updates to a piece of data in the DB are very common. Since the update of a piece of data is highly concurrent,...

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): G06F17/30
CPCG06F16/2308G06F16/2365
Inventor 康军卫陈岳阳
Owner CAINIAO SMART LOGISTICS HLDG 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