80 likes | 206 Views
CS775 PROJECT. DISRET: A Distributed System To Support a Retail-chain. Project Group Srikanth Balusani Rajendra Shirhatti Bhakta Ram. Features of DISRET. Availability -System will work at least with one accessible server. -All Servers in the System will be provided with a
E N D
CS775 PROJECT DISRET: A Distributed System To Support a Retail-chain Project Group Srikanth Balusani Rajendra Shirhatti Bhakta Ram
Features of DISRET • Availability • -System will work at least with one accessible server. • -All Servers in the System will be provided with a • backup server. • Dynamic System • - System provides for Dynamic Allocation of Resources - Addition/Deletion/Transfer of • Zone, Regional, Retail Servers. • Response Time • - System is designed to provide lowest • response Time
DISRET Architecture National Regional Zonal Retail
Implementation Issues • Communication: • - Remote Method Invocation • Language: • - Java • The modules in the project: • Client: • - Client at each level of Hierarchy • Server: • - Server to serve the Client at Each Level of Hierarchy • Active Resources List: • -Implemented Using XML
DISRET Implementation Local Update Client Server Resource List Lookup Other Servers
Active Resources List <national ncount="1" regc="2" host="stimpy" port="5606"> <REGIONAL host="ren" port="3456" rid="1" zonc="1"> <ZONAL host="dilbert" port="5687" zid="1" locc="1"> <LOCAL host="stimpy" port="343" lid="1" /> </ZONAL> </REGIONAL> <REGIONAL host="ewd" port="3223" rid="2" zonc="0" /> </national>
Design Issues Unresolved Check for Server: - Periodic “ping” of Servers by Server under its Hierarchy - Removal of Resource from Active Resources List if “ping “ fails Election Algorithm: - Implementation of National Server as one of the Regional Servers. - If Regional Server acting as National Fails, implement a Election Algorithm among Regional Servers to find successor. Server to keep track of Requests from Clients: - A Queue Processing Server to keep track of requests from Client, so that requests can be processed in FIFO or Round Robin.