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

Distributed transaction processing method based on connection pool management

A distributed transaction and processing method technology, applied in transaction processing, electrical digital data processing, special data processing applications, etc., can solve the problems of distributed database limitations, inability to perform row locks and dirty reads, and inability to guarantee data consistency , to achieve the effect of providing data security and concurrency, ensuring consistency and integrity, and ensuring the consistency of access data

Inactive Publication Date: 2014-01-08
北京思特奇信息技术股份有限公司
View PDF1 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1) If there is no persistent connection between the database node and the proxy server, the rollback operation of the data cannot be guaranteed;
[0007] 2) Data consistency cannot be guaranteed in the case of simultaneous operation of multiple nodes;
[0008] 3) The connection between the application server and the proxy server cannot be effectively inherited, and the database node and the proxy server are in a disordered state. The disordered state of the connection makes the database unable to be highly available, and the distributed database is greatly restricted;
[0009] 4) It cannot support services with high data requirements;
[0010] 5) The database transaction isolation level cannot be supported, and some data cannot be read, resulting in the inability to perform row locks and dirty reads

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
  • Distributed transaction processing method based on connection pool management
  • Distributed transaction processing method based on connection pool management
  • Distributed transaction processing method based on connection pool management

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0052] Such as figure 1 , 2 As shown, a distributed transaction processing method based on connection pool management includes the following steps:

[0053] Step 1: Establish a connection pool in the proxy server and initialize it;

[0054] Step 2: the application server sends a service request to the proxy server;

[0055] Step 3: The proxy server judges the type of business request, if it is a non-transactional request, go to step 4; if it is a transactional request, go to step 5;

[0056] Step 4: process through short connection, end;

[0057] Step 5: Determine whether the business request is a transaction-opening statement, if so, execute step 6, otherwise execute step 8;

[0058] Step 6: Assign the connectio...

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 relates to a distributed transaction processing method based on connection pool management. The distributed transaction processing method based on connection pool management comprises the steps that a connection pool is established on a proxy server; when the proxy server receives a first service request, sent by an application server, for transaction processing, persistent connection is established between the proxy server and a relevant database server, the service request is sent by the proxy server to each database server to be processed through the persistent connection, and all following service requests belonging to the transaction processing are sent to each database server to be processed through the established persistent connection; when the service request sent by the application server is the request for ending of the transaction processing or is not a transaction request, the proxy server withdraws the persistent connection established between the application server and each database server. By the adoption of the distributed transaction processing method based on connection pool management, the consistency and the integrity of transaction processing data are guaranteed, the isolation level of transactions is guaranteed, the promotion function on a high-concurrency data service is achieved, and the data consistency of high-concurrency access is guaranteed.

Description

technical field [0001] The invention relates to the field of distributed database and cloud computing, in particular to a distributed transaction processing method based on connection pool management. Background technique [0002] In many key fields such as the Internet and telecommunications, with the continuous development of enterprise business, the I / T environment of enterprises is also constantly evolving. It is difficult for a single database to meet the requirements of massive database storage and high concurrent data access. The emergence of distributed databases has become Inevitably, distributed databases can effectively solve massive data storage and concurrency problems. Through horizontal alignment of data and vertical segmentation of data tables, massive data storage is effectively alleviated, and high Concurrency issues, but how to ensure the consistency, data integrity, and data isolation of each node's data has become a problem that distributed databases nee...

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): G06F17/30H04L29/08
CPCG06F9/466G06F16/2336H04L67/566
Inventor 杨宗良
Owner 北京思特奇信息技术股份有限公司
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