Team 7:
Sixers
18-749: Fault-Tolerant Distributed Systems
Spring 2006
|
Team Members:
- Heejoon Jung, MSIT-SE, heejoonj@andrew.cmu.edu
- Wangbong Lee, MSE, wangbonl@andrew.cmu.edu
- Minho Jeung, MSE, mjeung@andrew.cmu.edu
- Hou Kyu, MSE, kyuh@andrew.cmu.edu
- Sangjin Han, MSE, sangjinh@andrew.cmu.edu
- Wen Shu Tang, ECE, wtang@andrew.cmu.edu
Team Roles:
Roles |
Heejoon |
Wangbong |
Minho |
Kyu |
Sangjin |
Wen shu |
Development |
Business Logic |
○ |
○ |
|
|
|
|
Client |
|
|
○ |
|
|
○ |
Server |
○ |
○ |
|
○ |
○ |
|
GUI |
|
|
○ |
|
|
○ |
DB |
|
|
|
○ |
○ |
|
Analysis |
Real-Time |
○ |
|
|
|
|
○ |
Performance |
|
○ |
○ |
|
|
|
Reliability |
|
|
|
○ |
○ |
|
Testing |
○ |
○ |
○ |
○ |
○ |
○ |
Documentation |
○ |
○ |
○ |
○ |
○ |
○ |
Presentation |
○ |
○ |
○ |
○ |
○ |
○ |
Configuration |
|
○ |
|
○ |
○ |
|
Web Page |
○ |
|
○ |
|
|
|
Project Title:
Express Bus Ticket Center
Baseline Application Description:
Online ticketing application for express buses which allow users to search schedules and available seats, reserve tickets and check reservation status.
Configuration:
- Operating System
- Server: Linux
- Client: MS Windows XP
- Programming Language: Java
- Database: MySQL
- Middleware: EJB
* This configuration may be changed as an adjustments based on future environments.
Third-party software, if any (databases):
- Eclipse
- J2EE
* This configuration may be changed as an adjustments based on future environments.
Baseline Application Features:
- Users can search bus schedules, tickets, and available seats.
- Users can choose available seats.
- Users can reserve tickets.
- Users can cancel the tickets that he or she purchased.
- Users can check the current status of seat occupancy.
Reliability Requirements:
- The system should be available 24 hours per day, 7 days per week.
- The system should be recovered within 5 seconds after failure.
- The ongoing transactions should be preserved under system failure.
- The system should preserve the user account under system failure.
- All transaction data should be preserved under system failure.
Real-Time Requirements:
- Log-in should be processed within 2 seconds.
- It should take less than 5 seconds to search 1,000 results.
- It should take less than 4 seconds to book bus tickets.
Performance Requirements:
- The system shall serve at most 500 users at a time
- The system shall deal with up to 50 concurrent transactions.
Baseline Application
Interfaces
Methods
① Login() : A user logs into the Express Bus Ticket System
② CreateProfile() : A new user creates the profile for connect the Express Bus Ticket System
③ UpdateProfile() : A user updates the his/her personal profile.
④ RetrieveSchedule() : A user retrieves the bus schedule in the Express Bus Ticket System.
⑤ BuyTicket() : A user buys a ticket in the Express Bus Ticket System when it is available.
⑥ CancelTicket() : A user cancels the reserved ticket
⑦ GetMyInfo() : It shows the history of reservation to a user.
⑧ IsCreditCardValid() : The system check if the credit card is valid.
⑨ UpdateCreditCardInfo() : The system update the user’s credit card information.
⑩ UpdateSeatInfo() : The system updates the seat status.
Attributes
① Bus information (bus number, from, to, departure time, arrival time, number of available seats)
② Payment method is credit card
③ Profile information (name, password, user id, credit card number)
④ Number of connected users
Exceptions
▪Application Exceptions
① InvalidUserInfo()
② InvalidCreditCard()
③ OutOfAvailableSeats()
④ AlreadyLoggedOnUser()
⑤ InsufficientUserInfo()
▪ System Exceptions
① CreditCardServerNotResponding()
② ScheduleServerNotResponding()
③ ServerIsBusy()
④ ServerOutOfCapacity()
Scenarios/Interactions
Current Status
Downloads
Fault-Tolerant Baseline Application
Scenarios/Interactions
Current Status
Downloads
Real-Time Fault-Tolerant Baseline Application
Scenarios/Interactions
Current Status
Downloads
High-Performance Real-Time Fault-Tolerant Baseline Application
Scenarios/Interactions
Current Status
Downloads
Update (02/13/2006)