180 likes | 185 Views
An online application for searching, reserving, and canceling bus tickets. Built on Linux servers with Java and MySQL. Uses CORBA middleware.
E N D
The Project PresentationApril 28, 2006 18-749: Fault-Tolerant Distributed Systems Team 7-SixersKyu Hou Minho Jeung Wangbong Lee Heejoon Jung Wen Shu Tang
Members • Wen Shu Tang wtang@andrew.cmu.edu ECE Kyu Hou kyuh@andrew.cmu.eduMSE Wangbong Lee wangbonl@andrew.cmu.edu MSE • Heejoon Jung wangbonl@andrew.cmu.edu MSIT-SE Min Ho Jeung mjeung@andrew.cmu.edu MSE http://www.ece.cmu.edu/~ece749/teams-06/team7/
Baseline Application • Express Bus Ticket Center Enable users to search schedules, reserve tickets and cancel tickets • Application Online express bus ticketing application • Configuration • Operating System: Linux servers • Programming Language: Java • Database: MySQL • Middleware: CORBA
Baseline Application-Con’t • Baseline Application Feature • Users can search bus schedules and tickets. • Users can reserve tickets. • Users can cancel the tickets.
Server Database Database Application Server Client Client Baseline Architecture Allocation View-Deployment Style ① ② ① ④ ④ ③ Legend Request Query Response Query Response Call Request Call Internet
Server Database Client Baseline Architecture Allocation View-Deployment Style ① ② Server CORBA Interface Business Logic JDBC User Interface Client CORBA Interface MySQL ④ ③ Database Pool of Customers Bus Ticket System Legend Request Query Response Query Response Call Request Call
Performance measurement • 48 Configurations • Buy and cancel ticket
us Performance measurement
Fault Injection measurements • 1 Client • 1000 requests • Cancel ticket request
RT-FT Baseline Architecture • Active
RT-FT Performance Strategy • Thread Pool • We need to avoid the overhead of thread creation for each request. • Create a number of threads at initialize time • Dynamic configuration • Without Thread Pool • AVG RTT: 47.5 msec • With Thread Pool • AVR RTT: 38.1 msec • Improve the performance about 20%
RT-FT Performance Measurement • Thread Pool / No Thread Pool
Other Feature • List other features • Fault Injector – Shell Script • Log4j – Logging information • Apach DB Connection Pool (DBCP) • What lessons by other features? • Useful utilities • Improve performance by DBCP • Powerful shell scripts