Download HatsPres

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
TRADESTORM Inc. presents
HATS: Highly Available Trading of Securities
J. McIlvain, H. Phillips, Z. Wang
Distributed Systems 45-612
Information Networking Institute
Introduction
• What is HATS
• Who would use HATS
Objective
• Provide highly available service
• Failure tolerance: primary back-up
Implementation Tools
• Java
• RMI
• JDBC
System Design
• Three tier model:
•
•
•
•
Client
RMI servers: LDS, TS
Database: MDB, TDB
Market Engine
Basic System Model
Primary Back-up model
Client Application
Load Distribution Server
• Provides services to clients
– Registration, authentication…
• Keeps information of each Trading Server
– Registration, state of TS...
• Keeps information on Databases
• Keeps information on Market Engines
Trading Server
• On start up, must register with LDS
• Communicate with
– the Client Application
– the Databases
• When crash:
– the clients are redistributed over all the TS
Database
• Market Trade Database
– keeps market information
– updates by market engine
• Trader (Client Account) Database
– keeps clients personal information
– keeps portfolio information
• When crash, replace by back-up server
Market Engine
• On start up, must register on LDS
• Periodically
– downloads web data
– updates the MDB
• When crash, back-up takes over as ME
Discussion
• Highly available
• Failure tolerance
Related documents