Font Size: a A A

Design And Implementation Of High-throughput No-paper Lottery Transaction Processing System

Posted on:2009-01-14Degree:MasterType:Thesis
Country:ChinaCandidate:W W ChenFull Text:PDF
GTID:2178360278457136Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Lottery, especially internet lottery is coming into our daily life. The speciality and rapid development of this service raises more demand and challenge to the technology supporting system. Based on the analysis of the domestic lottery industry's status and its technology supporting system, the domestic lottery operators are divided into lottery-service-operator, intermediate-service-operator and user-service-operator. This paper focuses on the technology supporting system of intermediate-service-operator, especially the design and implementation of high-throughput no-paper lottery transaction processing system, also the testing and analysis for this system. All these research work are done based on the experiences of my working in Chinese Gloria Technology Company for nearly three years.High-throughput is the main goal of no-paper lottery transaction processing system(short named NP-LTPS system). In NP-LTPS, the goal of high-throughput is achieved from three aspects: high-performance, high-reliability and high-scalability. In order to enhance the throughput of the NP-LTPS system, it is divided into several subsystems which cooperate with each other and form a distributed system. The subsystem interacted with lottery-service-operator's system is named up-subsystem. There are many up-subsystems in NP-LTPS system, which enables NP-LTPS system to interact with many different lottery-service-operators'systems. The subsystem interacted with user-service-operator's system is named down-subsystem. There are also many down-subsystems in NP-LTPS system, which enables NP-LTPS system to interact with many different user-service-operators'systems. The subsystem processing the core business logic is named core-subsystem. In order to improve the system's efficiency, we use a separated storage-subsystem to deal with all business data persistence work in core-subsystem. Besides, there is a cache-system which provides cache service for all other subsystems in NP-LTPS system.According to communication requirement of NP-LTPS system, a communication service named SMS-BOS (Simple Message Service Based on Socket) is implemented. SMS-BOS adopts Java NIO technology and multiple threads technology and provides synchronous request/response communication service and asynchronous request/response communication service. Testing results indicate that the speed of SMS-BOS subsystem can meet the requirement of NP-LTPS system.Core-subsystem is the center of dealing with all business logic of NP-LTPS system. The multiple thread technique is adopted in its implementation. Core-subsystem uses SMS-BOS communication service to communicate with other subsystems. In addition, core-subsystem does not treat with business data storage directly. The storage of business data is the responsibility of storage-subsystem. Testing results show that core-subsystem can process more than 50 trades per-second, which indicates that the performance of the core-subsystem is good enough for the entire system.Currently, NP-LTPS has been running in practical environment for more than one year. It keeps ahead in domestic technology. It supplies the lottery trading service for VIP such as Taobao. The daily amount of transactions in NP-LTPS has exceeded 300,000. The no-broken-down running time of NP-LTPS exceeds six months.
Keywords/Search Tags:High-throughput, No-paper, Lottery transaction processing system, Scalability
PDF Full Text Request
Related items