Decentralized Computation Offloading on the Edge with Liquid WebWorkers

  • Andrea GallidabinoEmail author
  • Cesare Pautasso
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10845)


Liquid Web applications seamlessly flow across any kind of device ranging from powerful desktop and laptop devices to smaller devices, such as tablets, smart phones or any device capable of running a Web browser. In this context, there is the opportunity to reduce the execution time of CPU-intensive tasks or limit their energy consumption by offloading them across the set of machines running the liquid Web application. To do so, in this paper we present Liquid WebWorkers, which build upon the standard HTML5 WebWorker API and transparently offload the task execution to other devices and manage the corresponding data transfer. This way, Web developers can reuse their existing WebWorker scripts without any changes. We present how to create a pool of paired devices and compare different policies for choosing the target device that have been implemented in the Liquid.js framework.


Webworkers Edge computing Liquid software 



This work is partially supported by the SNF with the “Fundamentals of Parallel Programming for PaaS Clouds” project (Nr. 153560).


  1. 1.
    Atzori, L., Iera, A., Morabito, G.: The internet of things: a survey. Comput. Netw. 54(15), 2787–2805 (2010)CrossRefGoogle Scholar
  2. 2.
    Bonomi, F., Milito, R., Zhu, J., Addepalli, S.: Fog computing and its role in the internet of things. In: Proceedings of the First Edition of the MCC Workshop on Mobile Cloud Computing, pp. 13–16. ACM (2012)Google Scholar
  3. 3.
    Cushing, R., Putra, G.H.H., Koulouzis, S., Belloum, A., Bubak, M., De Laat, C.: Distributed computing on an ensemble of browsers. IEEE Internet Comput. 17(5), 54–61 (2013)CrossRefGoogle Scholar
  4. 4.
    Dinh, H.T., Lee, C., Niyato, D., Wang, P.: A survey of mobile cloud computing: architecture, applications, and approaches. Wirel. Commun. Mob. Comput. 13(18), 1587–1611 (2013)CrossRefGoogle Scholar
  5. 5.
    Gallidabino, A., Pautasso, C.: Deploying stateful web components on multiple devices with liquid.js for Polymer. In: Proceedings of CBSE, pp. 85–90. IEEE (2016)Google Scholar
  6. 6.
    Gallidabino, A., Pautasso, C.: The liquid user experience API. In: Proceedings of the 27th International Conference on the World Wide Web (WWW) (2018)Google Scholar
  7. 7.
    Gallidabino, A., Pautasso, C., Mikkonen, T., Systa, K., Voutilainen, J.P., Taivalsaari, A.: Architecting liquid software. J. Web Eng. 16(5&6), 433–470 (2017)Google Scholar
  8. 8.
    Google: The new multi-screen world: understanding cross-platform consumer behavior (2012).
  9. 9.
  10. 10.
    Guinard, D., Trifa, V., Mattern, F., Wilde, E.: From the internet of things to the web of things: resource-oriented architecture and best practices. In: Uckelmann, D., Harrison, M., Michahelles, F. (eds.) Architecting the Internet of Things, pp. 97–129. Springer, Heidelberg (2011). Scholar
  11. 11.
    Hartman, J., Manber, U., Peterson, L., Proebsting, T.: Liquid software: a new paradigm for networked systems. Technical report 96–11, University of Arizona (1996)Google Scholar
  12. 12.
    Hirsch, M., Rodríguez, J.M., Mateos, C., Zunino, A.: A two-phase energy-aware scheduling approach for CPU-intensive jobs in mobile grids. J. Grid Comput. 15(1), 55–80 (2017)CrossRefGoogle Scholar
  13. 13.
    Hirsch, M., Rodriguez, J.M., Zunino, A., Mateos, C.: Battery-aware centralized schedulers for CPU-bound jobs in mobile grids. Pervasive Mob. Comput. 29, 73–94 (2016)CrossRefGoogle Scholar
  14. 14.
    Loke, S.W., Napier, K., Alali, A., Fernando, N., Rahayu, W.: Mobile computations with surrounding devices: proximity sensing and multilayered work stealing. ACM Trans. Embed. Comput. Syst. (TECS) 14(2), 22 (2015)Google Scholar
  15. 15.
    Luan, T.H., Gao, L., Li, Z., Xiang, Y., Wei, G., Sun, L.: Fog computing: focusing on mobile users at the edge. arXiv preprint arXiv:1502.01815 (2015)
  16. 16.
    Poslad, S.: Ubiquitous Computing: Smart Devices, Environments and Interactions. Wiley, Hoboken (2011)Google Scholar
  17. 17.
    Satyanarayanan, M.: The emergence of edge computing. Computer 50(1), 30–39 (2017). Scholar
  18. 18.
    Shi, W., Dustdar, S.: The promise of edge computing. Computer 49(5), 78–81 (2016)CrossRefGoogle Scholar
  19. 19.
    Taivalsaari, A., Mikkonen, T.: A roadmap to the programmable world: software challenges in the IoT era. IEEE Softw. 34(1), 72–80 (2017)CrossRefGoogle Scholar
  20. 20.
    Taivalsaari, A., Mikkonen, T., Systa, K.: Liquid software manifesto: the era of multiple device ownership and its implications for software architecture. In: 38th Computer Software and Applications Conference (COMPSAC), pp. 338–343 (2014)Google Scholar
  21. 21.
    Welbourne, E., Battle, L., Cole, G., Gould, K., Rector, K., Raymer, S., Balazinska, M., Borriello, G.: Building the internet of things using RFID: the RFID ecosystem experience. IEEE Internet Comput. 13(3), 48–55 (2009)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Software Institute, Faculty of InformaticsUSI LuganoLuganoSwitzerland

Personalised recommendations