Advertisement

Mobile Networks and Applications

, Volume 21, Issue 2, pp 337–351 | Cite as

Framework for Enhancing Mobile Availability of RESTful Services

A Connectivity-Aware and Risk-Driven Approach
  • Shang-Pin Ma
  • Wen-Tin Lee
  • Ping-Chang Chen
  • Chi-Chia Li
Article

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.

Keywords

RESTful service Context-aware Connectivity-aware Service cache Service availability Risk-driven Service recovery 

Notes

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.

References

  1. 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. 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–762Google Scholar
  3. 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– 179Google Scholar
  4. 4.
    Cao G (2004) Power-aware cache management in mobile environments. In: Mobile Computing Handbook, pp 403–419Google Scholar
  5. 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–74Google Scholar
  6. 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–634Google Scholar
  7. 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–1611CrossRefGoogle Scholar
  8. 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–184Google Scholar
  9. 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–162Google Scholar
  10. 10.
    Fielding RT, Taylor RN (2002) Principled design of the modern web architecture. ACM Trans Internet Technol 2(2):115–150CrossRefGoogle Scholar
  11. 11.
    Gilly K, Juiz C, Puigjaner R (2011) An up-to-date survey in web load balancing. World Wide Web 14(2):105–131CrossRefGoogle Scholar
  12. 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–431Google Scholar
  13. 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–140CrossRefGoogle Scholar
  14. 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–794Google Scholar
  15. 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–102Google Scholar
  16. 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–644Google Scholar
  17. 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–466Google Scholar
  18. 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–328Google Scholar
  19. 19.
    Moser O, Rosenberg F, Dustdar S (2012) Domain-specific service selection for composite services. IEEE Trans Softw Eng 38(4):828–843CrossRefGoogle Scholar
  20. 20.
    Ortiz S Jr (2006) Is near-field communication close to success? Computer 39(3):18–20CrossRefGoogle Scholar
  21. 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–16Google Scholar
  22. 22.
    Richardson L, Ruby S (2007) RESTful web services—web services for the real world. O’Reilly MediaGoogle Scholar
  23. 23.
    Rodriguez A (2015) RESTful web services: the basics, available at http://www.ibm.com/developerworks/library/ws-restful/
  24. 24.
    Sailhan F, Issarny V (2004) Energy-aware web caching over hybrid networks. In: Mobile Computing Handbook, pp 779–803Google Scholar
  25. 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–118Google Scholar
  26. 26.
    Terry DD, Ramasubramanian V (2003) Caching XML web services for mobility. Queue 1(3):70–78CrossRefGoogle Scholar
  27. 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–161Google Scholar

Copyright information

© Springer Science+Business Media New York 2015

Authors and Affiliations

  • Shang-Pin Ma
    • 1
  • Wen-Tin Lee
    • 2
  • Ping-Chang Chen
    • 1
  • Chi-Chia Li
    • 1
  1. 1.Department of Computer Science and EngineeringNational Taiwan Ocean UniversityKeelungTaiwan
  2. 2.Department of Software EngineeringNational Kaohsiung Normal UniversityKaohsiungTaiwan

Personalised recommendations