Skip to main content
Log in

Framework for Enhancing Mobile Availability of RESTful Services

A Connectivity-Aware and Risk-Driven Approach

  • Published:
Mobile Networks and Applications Aims and scope Submit manuscript

Abstract

Providing users of mobile devices uninterrupted access to web services in unstable network conditions continues to be a problem. Numerous methods for service caching have been proposed; however, most studies fail to consider two crucial factors: (1) Context of network connectivity: Smartphones are used in a variety of wireless network conditions, such as high-speed networks, unstable networks, and areas without an available network connection; and (2) Service failure handling: Current service caching mechanisms are able to deal with temporary unavailability, but they cannot handle long-time service failures or malfunctions. This paper proposes a connectivity-aware, risk-driven (CARD) approach to the delivery of RESTful services. The CARD approach is encapsulated in the form of a client-side library for use by mobile applications (apps) to invoke backend RESTful services in a highly-available manner. The CARD approach has two main features: 1) the ability to perform actions specific to the network conditions, such as the application of prefetch services and caching services when connected to high speed wireless networks to ensure that cached services are used for unstable wireless networks, and allowing users to request cached service responses from other users when no wireless network can be accessed. 2) The proposed risk-driven analysis method enables the provision of a reasonable service recovery plan when the original service malfunctions. Experiments demonstrate that the proposed CARD approach expands the availability of service and shortens service response times under a variety of network conditions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

Notes

  1. http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html

  2. http://jmeter.apache.org/

References

  1. NTOU Mobile (official mobile app provided by national taiwan ocean university), available at https://play.google.com/store/apps/details?id=tw.edu.ntou

  2. Aghdaie N, Tamir Y (2003) Fast transparent failover for reliable web service. In: Proceedings of the 15th IASTED international conference on parallel and distributed computing and systems (PDCS), pp 757–762

  3. AlShahwan F, Moessner K (2010) Providing SOAP web services and RESTful web services from mobile hosts. In: Proceedings of the 2010 fifth international conference on internet and web applications and services. ICIW ’10. IEEE Computer Society, Washington, DC, pp 174– 179

  4. Cao G (2004) Power-aware cache management in mobile environments. In: Mobile Computing Handbook, pp 403–419

  5. Chang C, Ling S, Krishnaswamy S (2011) Promws: proactive mobile web service provision using context-awareness. In: 2011 IEEE international conference on pervasive computing and communications workshops (PERCOM Workshops), pp 69–74

  6. Christensen JH (2009) Using RESTful web-services and cloud computing to create next generation mobile applications. In: Proceedings of the 24th ACM SIGPLAN conference companion on object oriented programming systems languages and applications. OOPSLA ’09. ACM, New York, pp 627–634

  7. Dinh HT, Lee C, Niyato D, Wang P (2013) A survey of mobile cloud computing: architecture, applications, and approaches. Wirel Commun Mob Comput 13(18):1587–1611

    Article  Google Scholar 

  8. Elbashir K, Deters R (2005) Transparent caching for nomadic ws clients. In: Proceedings of the IEEE international conference on web services. ICWS ’05. IEEE Computer Society, Washington, DC, pp 177–184

  9. Fernandez J, Fernandez A, Pazos J (2005) Optimizing web services performance using caching. In: Proceedings of the international conference on next generation web services practices. NWESP ’05. IEEE Computer Society, Washington, DC, pp 157–162

  10. Fielding RT, Taylor RN (2002) Principled design of the modern web architecture. ACM Trans Internet Technol 2(2):115–150

    Article  Google Scholar 

  11. Gilly K, Juiz C, Puigjaner R (2011) An up-to-date survey in web load balancing. World Wide Web 14(2):105–131

    Article  Google Scholar 

  12. Katsaros G, Kubert R, Gallizo G (2011) Building a service-oriented monitoring framework with REST and Nagios. In: Proceedings of the 2011 IEEE international conference on services computing. SCC ’11. IEEE Computer Society, Washington, DC, pp 426–431

  13. Kumar K, Liu J, Lu Y-H, Bhargava B (2013) A survey of computation offloading for mobile systems. Mob Netw Appl 18(1):129–140

    Article  Google Scholar 

  14. Liu X, Deters R (2007) An efficient dual caching strategy for web service-enabled pdas. In: Proceedings of the 2007 ACM symposium on applied computing. SAC ’07. ACM, New York, pp 788–794

  15. Liyanaarachchi A, Weerawarana S (2012) An end-to-end caching protocol for web services. In: 2012 international conference on advances in ICT for emerging regions (ICTer), pp 96–102

  16. Ma S-P, Huang C-Y, Fanjiang Y-Y, Kuo J-Y (2015) Configurable RESTful service mashup: a process-data-widget approach. Appl Math Inf Sci (AMIS) 9(2L):637–644

    Google Scholar 

  17. Ma S-P, Jiang J-S, Lee W-T (2013) Service brick composition framework for smartphones. In: Proceedings of the 2013 20th asia-pacific software engineering conference (APSEC)—volume 01. APSEC ’13. IEEE Computer Society, Washington, DC, pp 459–466

  18. Ma S-P, Yeh C-L, Chen P-C (2014) Service composition management: a risk-driven approach. J Univers Comput Sci 20(3):302–328

    Google Scholar 

  19. Moser O, Rosenberg F, Dustdar S (2012) Domain-specific service selection for composite services. IEEE Trans Softw Eng 38(4):828–843

    Article  Google Scholar 

  20. Ortiz S Jr (2006) Is near-field communication close to success? Computer 39(3):18–20

    Article  Google Scholar 

  21. Papageorgiou A, Schatke M, Schulte S, Steinmetz R (2011) Enhancing the caching of web service responses on wireless clients. In: Proceedings of the 2011 IEEE international conference on web services. ICWS ’11. IEEE Computer Society, Washington, DC, pp 9–16

  22. Richardson L, Ruby S (2007) RESTful web services—web services for the real world. O’Reilly Media

  23. Rodriguez A (2015) RESTful web services: the basics, available at http://www.ibm.com/developerworks/library/ws-restful/

  24. Sailhan F, Issarny V (2004) Energy-aware web caching over hybrid networks. In: Mobile Computing Handbook, pp 779–803

  25. Spillner J, Utlik A, Springer T, Schill A (2013) RAFT-REST—a client-side framework for reliable, adaptive and fault-tolerant restful service consumption. In: Lau K-K, Lamersdorf W, Pimentel E (eds) Service-oriented and cloud computing, vol 8135 of lecture notes in computer science. Springer, Berlin, pp 104–118

  26. Terry DD, Ramasubramanian V (2003) Caching XML web services for mobility. Queue 1(3):70–78

    Article  Google Scholar 

  27. Zeginis C, Konsolaki K, Kritikos K, Plexousakis D (2012) ECMAF: an event-based cross-layer service monitoring and adaptation framework. In: Proceedings of the 2011 international conference on service-oriented computing. ICSOC’11. Springer, Berlin, pp 147–161

Download references

Acknowledgments

This research was sponsored by Ministry of Science and Technology in Taiwan under grants MOST 103-2221-E-019-039 and MOST 104-2221-E-019-001.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shang-Pin Ma.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ma, SP., Lee, WT., Chen, PC. et al. Framework for Enhancing Mobile Availability of RESTful Services. Mobile Netw Appl 21, 337–351 (2016). https://doi.org/10.1007/s11036-015-0655-7

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11036-015-0655-7

Keywords

Navigation