Research of Distributed Transaction in Decentralized Architecture Systems
- Author
- ZhuChenYunHai
- Advisor
- HuZuo
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 7
- Citations
- 0
Abstract
A decentralized NoSQL system provides highly scalable and available services withno single point of failure or bottleneck of a master node. Yet this kind of system onlyguarantees eventual consistency and the strong consistency should be guaranteed by thedesigner during the application design, which complicates application development. Soit’s necessary to add ACID semantics to NoSQL, which not only retains NoSQL’soutstanding system features, but also help developer avoid maintaining consistency inapplication layer taking advantage of the transaction mechanism. Traditional distributedtransaction’s two phase commit protocol has availability and performance issues. Presentstudies put emphasis on accomplishing the two phase commitment based on Paxos.A configurable decentralized transactional NoSQL called DTCassandra is designedand implemented using Paxos protocol. This system provides the ACID semantics of writetransactions and reads with three consistency levels including current, snapshot andinconsistent read. A configurable consistent read and write algorithm is presented andimplemented which has the following features: First it uses multi-type replicas to separateread and write operation so that different quantities of replicas could be configured;Second it uses log to synchronize write operations across replicas and replicated log fordifferent type of replica is built to implement distributed state machine; Third, it usesPaxos protocol to maintain consensus for witness replicas and NWR quorum protocol forreadable replicas to provide configurable read and write availability with strongconsistency. Making use of data partitioning based on key range and MVCC mechanism ineach partition, fully serializable ACID semantics is provided for local write transactions.2PC has been improved that global transaction across partitions is divided into multiplesub transactions and a primary sub transaction is used as the synchronous point, whichguarantees consistency when node failure happens.4KB data is used as test data for all tests. The results shows that the throughput ofcurrent read is50%higher than Cassandra quorum read while the throughput of localwrite transaction is60%lower than Cassandra quorum write. ACID semantics could beguaranteed by extending Cassandra. High availability is also provided.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-15
1.1 Background and issues raised 8-10
1.2 current research 10-12
1.3 background and research topics 12-13
1.4 articles framework 13-15
2 to the center of a distributed transaction processing system DTCassandra architecture and design 15-29
2.1 system Overview 15-17
2.2 architecture and function module 17-21
2.3 working mechanism and process flow 21-23
2.4 design ideas and technical route 23-26
2.5 analysis of key issues and difficulties 26-28
2.6 Summary 28-29
3 to the center of a distributed transaction processing system DTCassandra key technology 29-58
3.1 unanimous reader algorithm 29-37
3.2 multi-type copy of positioning and management achieve 37-40
3.3 copy of the log and maintenance 40-45
3.4 failure detection and treatment achieve 45-47
3.5 Paxos algorithm 47-51
3.6 proxy node main function 51-56
3.7 Summary 56-58
4 system testing and analysis 58-69
4.1 test environment 58-59
4.2 functional Test 59-62
4.3 performance test 62-66
4.4 usability testing 66-67
4.5 summary 67-69
5 summary and Outlook 69-71
Thanks 71-73
references 73-77
participate in major research projects during the study for a degree in Appendix 1 77 national patent applications for inventions during directory
Appendix 2 study for a degree 77
Related dissertations
- Research and Implementation of Metadata Management Scheme for Cloud Storage
- Research on Service Continuity for Stateful Services
- A Research of the Backup Technology Based on Erasure Code in Distributed Storage System
- The Research and Design of Distributed Data Cache Mechanism
- A Technology Recommending Educational Resources in Cloud Systems Based on Students Feature Model
- The Order about "One by One"-the Research of Design and Application of the Morden Print Publication
- A Study of Chinese Netspeak Parody Word Meme from Complementary Perspective of Conceptual Integration Theory
- HBV negative strand redundant sequence base composition on replication of
- Associations of Mutations of Whole Hepatitis B Virus Genomes with Hepatitis B Virus Related Diseases and Functional Analysis
- Functional Studies on Bombyx Mori Nucleo-Polyhedroyirus Late Expression Factor Lef-12
- Study on Effect of Ginsenoside Rb1Against Porcine Reproductive and Respiratory Syndrome Virus and Mechanism in Vitro
- The Relationship between Hepatitis B Virus Replication and Autophagy in Vitro
- Specialization of Bacterial DnaE Polymerases and Contributions to Bacterial Genome Evolution
- Research and Design of HDFS High Availability Based on Paxos
- Research of Certificate Revocation Mechanism Based on Intrusion Tolerance Technology
- Replication Dynamic Consistency Strategy in Large Scale Data Environment
- Research on the Method of Distributed Transaction Processing in the Financial Field
- Research on Consistency of Multi-Tenant Database
- Research on Non-structure Data Replication Method of Multi-Datacenter
- Data Integrity Check and Retrieval of Multiple Replicas in Cloud Service