1 / 13

CS 775 : Distributed Systems

CS 775 : Distributed Systems. PROJECT Design of a Retail Store Application Sanika Paranjape Satyam K. Das Vin-Jun Tsai December 04, 2001. Introduction. This project is a design implementation of a Retail Store Chain using Distributed Technology The chain is distributed all over the nation

Download Presentation

CS 775 : Distributed Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 775 : Distributed Systems PROJECT Design of a Retail Store Application Sanika Paranjape Satyam K. Das Vin-Jun Tsai December 04, 2001

  2. Introduction • This project is a design implementation of a Retail Store Chain using Distributed Technology • The chain is distributed all over the nation • The general design is hierarchic where every member at a level are responsible for carrying out designated actions • Management of operations is also maintained at each and every level of the hierarchy

  3. Hierarchical Design National Region 1 Region 2 Region 3 Zonal 11 Zonal12 Zonal13 Retail 121 Retail 122 Retail 123 Retail 124

  4. Java RMI • 100% Java Technology • RMI adds to Java the power and flexibility of remote procedure calls (RPC) • It preserves the object oriented nature of Java by providing framework within which objects in different JVMs can interact

  5. Design Issues • A Dynamic Hierarchical Design • Implemented only on a nationwide scale with 4 levels of operation • Two interfaces implemented, one for the bottom-most hierarchy and one for the higher levels

  6. Design Issues • Client-Server architecture • Each level deals only with its immediate children • Methods implemented on objects at levels higher than the retail store are called recursively

  7. Design Implementation • Retail Store level • Create RMI Registry • Create the Store implementation object • Bind the object to a RMI registry • Provide update/query operation services for this level • Response for remote access

  8. Design Implementation • Administrative Office level • Create RMI registry • Create the office implementation object • Bind the object to the RMI registry • Accessing the retail store and lower level administrative objects from remote machines • Maintaining a list of accessible remote stores and offices

  9. Design Implementation • Administrative office level • Provide update/query operation services for all lower level remote retail stores • Response for remote access

  10. Design Implementation • Fault Tolerance • Achieved by running duplicate servers at each levels of the hierarchy • Transparent to the users • It is assumed that the servers are essentially robust and the downtime is minimal compared to the operational time • Tested by killing one server process and continuing to access the services at all levels

  11. Strengths of the Design • Availability • Scalability • Dynamic design • Performance

  12. Limitations of the Design • In case both the main server and the mirrored server fails, the application will fail • Caching has not been implemented

  13. Scope for Improvements • A better GUI could have been designed using Applets or Java Swing

More Related