170 likes | 267 Views
Wireless Reliable Messaging Protocol for Web Services (WS-WRM). Sangmi Lee and Geoffrey Fox Community Grid Laboratory, Indiana University. Background. Community Grid Lab Grid systems and Web services Explosive growth of mobile telecommunication networks
E N D
Wireless Reliable Messaging Protocol for Web Services (WS-WRM) Sangmi Lee and Geoffrey Fox Community Grid Laboratory, Indiana University leesangm@indiana.edu
Background • Community Grid Lab • Grid systems and Web services • Explosive growth of mobile telecommunication networks • Carousel project : adapting mobile devices into the collaborative environment. • Mobile devices in Web services • Participates as a Web service or user leesangm@indiana.edu
PC Laptop PC NaradaBrokering Laptop PC Laptop Server Server PC PC NaradaBrokering NaradaBrokering Laptop PDA Smartphone PC PC WS Reliability in the Grid Middleware : NaradaBrokering leesangm@indiana.edu
Current NaradaBrokering Features leesangm@indiana.edu
Extending WS Reliable Messaging to Mobile environment leesangm@indiana.edu
Web service Reliable Messaging schemes • WS-Reliability/WS-ReliableMessaging • Message Delivery Assurance • At-Least-Once • At-Most-Once • Exactly-Once • Guaranteed Message Ordering • Acknowledge/Negative acknowledge • Failure recovery: storage service leesangm@indiana.edu
Reality of Mobile Computing • Limited network environment • Network Protocol – depends on the service provider, device, OS • Bandwidth – lower bandwidth, overhead with service gateway • Storage – sharing memory for storage and running program • Emerging new devices and services leesangm@indiana.edu
Requirements for design WS Reliable Messaging protocol for Mobile Environment • Satisfies reliable messaging delivery assurances • Optimizes the number of data transfer • Optimizes the usage of the local data storage • Provides stronger delivery assurance scheme for higher failure rate • Enables cooperate with other WS reliability specifications • Supports the binding with other WS features leesangm@indiana.edu
WS-Wireless Reliable Messaging (WS-WRM) • Extending Reliable messaging scheme to mobile end-nodes • NAK/ACK based optimization • Passive behavior for the reliability policy in the Mobile node • Save time to develop for emerging mobile devices • more controllable from powerful machine ( PC, Middleware, proxy, etc) • Minimize usage of storage in mobile devices leesangm@indiana.edu
ACK and NAK based protocol leesangm@indiana.edu
Message Structure leesangm@indiana.edu
Request • <NAKTrackingRequired> : the destination starts to keep track of the order of messageIDs in delivered message(s). From current MessageID or given range specified in <MessageIDRange> • <ACKRequired> : the destination starts to send acknowledgement for received message(s). • <DuplicationElilinationRequired> • <MessageOrderingRequired> • <MessageIntegrityRequested> : advanced delivery assurance type (destination generates the message digest with SOAP message body with specified algorithm, and verifies the integrity) leesangm@indiana.edu
Cost of the Message Integrity Request in Mobile devices Generating message digest Comparison of message digests PalmOne’s Treo300 J2ME CLDC1.0 PalmOS 3.5 33MHz/16MB memory leesangm@indiana.edu
Interacting with the heterogeneous reliability schemes • NaradaBrokering performs assurance response to each end-devices using heterogeneous reliability schemes. leesangm@indiana.edu
Conclusion • WS-WRM extends the reliable messaging to the mobile end-nodes • Adapting mobile end-node as a participants of WS architecture • ACK/NAK based optimized reliable data protocol • Minimize the intelligent processing in the mobile end-nodes : provide more adaptability, and light implementation • Supports cooperating with other reliable messaging schemes leesangm@indiana.edu
Future works • Extending WS standards to mobile devices efficiently. • WS-Secure conversation • WS-Security • WS-Policy and WS-Notification www.naradabrokering.org leesangm@indiana.edu