Skip to main content

Mobile Apps with Dynamic Bindings Between the Fog and the Cloud

  • Conference paper
  • First Online:
Service-Oriented Computing (ICSOC 2019)

Abstract

The back-ends of mobile apps usually use services executed on remote (e.g., cloud) machines. The transmission latency may though make the usage of remote machines a less efficient solution for data that need short analysis time. Thus, apps should further use machines located near the network edge, i.e., on the Fog. However, the combination of the Fog and the Cloud introduces the research question of when and how the right binding of the front-end to an edge instance or a remote instance of the back-end can be decided. Such a decision should not be made at the development or the deployment time of apps, because the response time of the instances may not be known ahead of time or cannot be guaranteed. To make such decisions at run-time, we contribute the conceptual model and the algorithmic mechanisms of an autonomic controller as a service. The autonomic controller predicts the response time of edge/remote instances of the back-end and dynamically decides the binding of the front-end to an instance. The evaluation results of our approach on a real-world app for a large number of datasets show that the autonomic controller makes efficient binding-decisions in the majority of the datasets, decreasing significantly the response time of the app.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    The front-end includes the programming clients that interact with the service back-end.

  2. 2.

    The locally stored datasets are synchronized to the remote storage. We do not consider the synchronization time in the current work.

  3. 3.

    We assume at least an edge and a remote instance have been pre-deployed (whose endpoints are registered to the controller). We leave as future work the decision of the number of instances.

  4. 4.

    The programming methods are explicitly defined in a SOAP-based API or they can be determined by parsing the suffix of the URI of the API in a RESTful API [21].

  5. 5.

    https://docs.oracle.com/javase/tutorial/jaxb/intro/index.html.

  6. 6.

    If the cardinality is not declared in parameter schemas, then our approach considers a large pre-defined value as an artificial cardinality.

  7. 7.

    The relationship between the Dynamic Binding and the Service Proxy is UML composition (depicted by filled diamond) so as to hide the edge/remote instances from the front-end.

  8. 8.

    Due to the algorithmic simplicity, we do not specify the functions UPDATE, ADD and SELECT.

  9. 9.

    https://github.com/jagmohansingh/auction-system.

  10. 10.

    http://archive.ics.uci.edu/ml/index.php.

  11. 11.

    1.9 GHz CPU, 4 GB RAM, Android 8.0.

  12. 12.

    2.70 GHz CPU, Intel Core i5-5257U, 64-bit Windows 10 Home, 8 GB RAM.

  13. 13.

    2.2 GHz 2 vCPU, Intel Xeon E5 v4 (Broadwell) platform, 7.5 GB RAM, Windows server 2016 (the cost of renting a more powerful machine for our experiments was very high).

  14. 14.

    We define the equally-sized intervals of the dataset sizes, (1, 4000], (4000, 8000] and (8000, 12000], which correspond to small-, medium-, and large-sized datasets, respectively.

  15. 15.

    The scale of the y-axis in the first two charts is different from the scale in the next two charts.

References

  1. Kaur, P., Goyal, M., Lu, J.: Pricing analysis in online auctions using clustering and regression tree approach. In: Cao, L., Bazzan, A.L.C., Symeonidis, A.L., Gorodetsky, V.I., Weiss, G., Yu, P.S. (eds.) ADMI 2011. LNCS (LNAI), vol. 7103, pp. 248–257. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-27609-5_16

    Chapter  Google Scholar 

  2. Plebani, P., et al.: Information logistics and fog computing: the DITAS approach. In: International Conference on Advanced Information Systems Engineering, pp. 129–136 (2017)

    Google Scholar 

  3. Varghese, B., et al.: Realizing edge marketplaces: challenges and opportunities. IEEE Cloud Comput. 5(6), 9–20 (2018)

    Article  MathSciNet  Google Scholar 

  4. Kephart, J.O., Chess, D.M.: The vision of autonomic computing. IEEE Comput. 36(1), 41–50 (2003)

    Article  Google Scholar 

  5. Dheeru, D., Karra Taniskidou, E.: UCI machine learning repository (2017)

    Google Scholar 

  6. Ashouri, M., Davidsson, P., Spalazzese, R.: Cloud, edge, or both? Towards decision support for designing IoT applications. In: International Conference on Internet of Things: Systems, Management and Security, pp. 155–162 (2018)

    Google Scholar 

  7. Brogi, A., Ferrari, G.L., Forti, S.: Secure cloud-edge deployments, with trust. CoRR, abs/1901.05347 (2019)

    Google Scholar 

  8. Brogi, A., Forti, S.: Qos-aware deployment of IoT applications through the fog. IEEE Internet Things J. 4(5), 1185–1192 (2017)

    Article  Google Scholar 

  9. Deng, R., Lu, R., Lai, C., Luan, T.H., Liang, H.: Optimal workload allocation in fog-cloud computing toward balanced delay and power consumption. IEEE Internet Things J. 3(6), 1171–1181 (2016)

    Google Scholar 

  10. Brogi, A., Forti, S., Ibrahim, A.: Deploying fog applications: how much does it cost, by the way? In: International Conference on Cloud Computing and Services Science, pp. 68–77 (2018)

    Google Scholar 

  11. Mohan, N., Kangasharju, J.: Edge-fog cloud: a distributed cloud for Internet of Things computations. In: Cloudification of the Internet of Things, pp. 1–6 (2016)

    Google Scholar 

  12. Mohan, N., Kangasharju, J.: Edge-fog cloud: a distributed cloud for Internet of Things computations. CoRR, abs/1702.06335 (2017)

    Google Scholar 

  13. Brogi, A., Forti, S., Ibrahim, A.: How to best deploy your fog applications, probably. In: International Conference on Fog and Edge Computing, pp. 105–114 (2017)

    Google Scholar 

  14. Gupta, H., Dastjerdi, A.V., Ghosh, S.K., Buyya, R.: iFogSim: a toolkit for modeling and simulation of resource management techniques in the Internet of Things, edge and fog computing environments. Softw. Pract. Exp. 47(9), 1275–1296 (2017)

    Article  Google Scholar 

  15. Tran, D.H., Tran, N.H., Pham, C., Kazmi, S.M.A., Huh, E.-N., Hong, C.S.: OaaS: offload as a service in fog networks. Computing 99(11), 1081–1104 (2017)

    Article  MathSciNet  Google Scholar 

  16. Guo, X., Singh, R., Zhao, T., Niu, Z.: An index based task assignment policy for achieving optimal power-delay tradeoff in edge cloud systems. In: IEEE International Conference on Communications, pp. 1–7 (2016)

    Google Scholar 

  17. Yousefpour, A., Ishigaki, G., Jue, J.P.: Fog computing: towards minimizing delay in the Internet of Things. In: IEEE International Conference on Edge Computing, pp. 17–24 (2017)

    Google Scholar 

  18. Saurez, E., Hong, K., Lillethun, D., Ramachandran, U., Ottenwälder, B.: Incremental deployment and migration of geo-distributed situation awareness applications in the fog. In: ACM International Conference on Distributed and Event-Based Systems, pp. 258–269 (2016)

    Google Scholar 

  19. Richardson, L., Ruby, S.: Restful Web Services, 1st edn. O’Reilly, Sebastopol (2007)

    Google Scholar 

  20. Erl, T.: Service-Oriented Architecture: Concepts, Technology, and Design. Prentice Hall, Upper Saddle River (2005)

    Google Scholar 

  21. Fokaefs, M., Stroulia, E.: Using WADL specifications to develop and maintain REST client applications. In: 2015 IEEE International Conference on Web Services, pp. 81–88 (2015)

    Google Scholar 

  22. Smola, A.J., Vishwanathan, S.V.N.: Introduction to Machine Learning. Cambridge University Press, Cambridge (2008)

    Google Scholar 

  23. Goldsmith, S., Aiken, A., Wilkerson, D.S.: Measuring empirical computational complexity. In: International Symposium on Foundations of Software Engineering, pp. 395–404 (2007)

    Google Scholar 

  24. Huang, L., Jia, J., Yu, B., Chun, B.-G., Maniatis, P., Naik, M.: Predicting execution time of computer programs using sparse polynomial regression. In: International Conference on Neural Information Processing Systems, pp. 883–891 (2010)

    Google Scholar 

  25. Athanasopoulos, D., Pernici, B.: Building models of computation of service-oriented software via monitoring performance indicators. In: International Conference on Service-Oriented Computing and Applications, pp. 173–179 (2015)

    Google Scholar 

Download references

Acknowledgments

The work was partially funded from the Victoria University of Wellington in New Zealand. We further express many thanks to Prof. B. Pernici for her valuable reviews.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dionysis Athanasopoulos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Athanasopoulos, D., McEwen, M., Rainer, A. (2019). Mobile Apps with Dynamic Bindings Between the Fog and the Cloud. In: Yangui, S., Bouassida Rodriguez, I., Drira, K., Tari, Z. (eds) Service-Oriented Computing. ICSOC 2019. Lecture Notes in Computer Science(), vol 11895. Springer, Cham. https://doi.org/10.1007/978-3-030-33702-5_41

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-33702-5_41

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-33701-8

  • Online ISBN: 978-3-030-33702-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics