270 likes | 287 Views
Explore the implementation of an integrated transaction service system using CORBA for a distributed network, focusing on resource sharing, scalability, and fault tolerance.
E N D
Booking Service on Internet to Demonstrate Distributed Transaction on CORBA Presented by Kam Shu Kai, Andy Student No.: 97082720 Supervisor : Professor Michael R. Lyu
Content • Motivation • Distributed System • CORBA • Implementation: Integrated Transaction Service System • Conclusion
Motivation • Network technology • Client/Server Distributed system VS Centralized system • OMG/ORB • Integrated Transaction Service System
Distributed System(1) • Personal computers and Workstations • Local Area Networks • Database server • WWW
Distributed System(2) • Key Characteristics • Resource Sharing • Openness • Concurrency • Scalability • fault tolerance • transparency
Distributed System(3) • Basic Design Issues • Naming • Communication • Workload allocation • Consistency maintenance
CORBA (1) • Object Management Architecture
CORBA (2) • CORBA ORB • Static and dynamic method invocation • High-level language bindings • Self-describing system • Local/remote transparency • Built-in security and transactions
CORBA (3) • Client side • Client IDL stubs • Dynamic Invocation Interface (DII) • Interface Repository APIs • ORB Interface
CORBA (4) • Server side • Server IDL Skeleton • Dynamic Skeleton Interface (DSI) • Object Adapter • Interface Repository • ORB Interface
Demonstration (1) • System Requirement (1) • Transaction on Internet - Web browser • Venue Booking and Service Adding • Seat Reservation • Multiple users • Quick response time
Demonstration (2) • System Requirement (2) • View the updated/inserted record • Delete record • Notification/Error messages • Friendly GUI • Callback
Implementation (2) • Interface Definition Language • Module : • Client • Interface : ClientControl • InternetTran • Interface : BookDispenser, Book
Implementation (3) • Database • Relational database : Oracle8 Server, Release 8.0.5.0.0 • Tables : • USERS, VENUE, ZONE • SERVICE, SESSIONS, FEE, TRANSACTIONS • Programming tools • VisiBroker for Java 3.4
Implementation (4) • Communication • osagent • IIOP • Gatekeeper
Testing • Accuracy • functions • Performance • response time • Test strategy • Server on Solar • Client on Windows NT and Unix Workstation • 12 concurrent users
Results • Concurrent update • High throughput • Enforce Business rules • Response time: • initial loading of Opening Screen • display of Seat Reservation Screen • others
Discussion (1) • Accuracy and Performance • number of concurrent users ? 12 • efficiency : • No attribute in Interfaces • transfer in single a operation
Discussion (2) • Design Strategy • prestart server objects • multi-server on different machines • load balancing • flexibility and reliability • thin client • UI • portability
Discussion (3) • Enhancement • multiple databases on different servers • replication • fault tolerance • Object-Oriented Database • object oriented design approach • reduce the locking granularity
Discussion (4) • Reusability • Scalability • Maintainability • Interoperability • Ease of use
Conclusion • The best middleware: • independence of hardware platform • free choice of operation system • neutrality in programming language • openness and industrial standard • Drawbacks: • complexity • lack of visual development tools
Q & A You are welcome!