Transaction processing method and device of distributed system, storage medium and electronic device

A distributed system and transaction processing technology, applied in the fields of storage media and electronic devices, transaction processing methods and devices of distributed systems, can solve the problems of prolonged transaction processing, low transaction throughput of distributed systems, etc., so as to improve transactions Throughput, reduce transaction processing latency, and solve the effect of low transaction throughput

Pending Publication Date: 2022-03-01
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present application provides a distributed system transaction processing method and device, a storage medium and an electronic device, to at least solve the distributed system transaction problem caused by the long transaction processing delay in the distributed system transaction processing method in the related art. The problem with low throughput

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
  • Transaction processing method and device of distributed system, storage medium and electronic device
  • Transaction processing method and device of distributed system, storage medium and electronic device
  • Transaction processing method and device of distributed system, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0030] It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such...

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 transaction processing method and device of a distributed system, a storage medium and an electronic device.The method comprises the steps that a target data node corresponding to a to-be-executed target transaction is determined from a plurality of data nodes, each data node of the plurality of data nodes is a data node used for transaction processing in the distributed system; under the condition that the number of the target data nodes is one, a target submission request is sent to the target data nodes, and the target submission request is used for requesting the target data nodes to submit the target transaction; and receiving a first response message returned by the target data node in response to the target submission request, the first response message being used for indicating a target submission result of the target transaction. Through the transaction processing method and device, the problem of low transaction throughput of the distributed system caused by long transaction processing time delay in a transaction processing method of the distributed system in the related technology is solved.

Description

technical field [0001] The present application relates to the Internet field, and in particular to a distributed system transaction processing method and device, a storage medium and an electronic device. Background technique [0002] In distributed systems, distributed databases generally use two-phase commit to ensure transaction commit consistency. The commit process of a distributed transaction can be divided into two phases. In the first phase, a pre-commit command is issued, and after all nodes pre-commit successfully, the real commit command is issued in the second phase. If a node pre-commit fails in the first phase, the second phase should be rolled back. Through the above method, it can be guaranteed that the entire distributed transaction is fully committed or fully rolled back on different nodes, and there will be no partial submission and partial rollback. [0003] However, the transaction processing process of the above-mentioned two-phase commit requires two...

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): G06F9/46G06F16/27
CPCG06F9/466G06F16/27
Inventor 魏少伦
Owner BEIJING KINGSOFT CLOUD NETWORK 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