Liquid Stream Processing Across Web Browsers and Web Servers

  • Masiar BabazadehEmail author
  • Andrea Gallidabino
  • Cesare Pautasso
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9114)


The recently proposed API definition WebRTC introduced peer-to-peer real time communication between Web browsers, allowing streaming systems to be deployed on browsers in addition to traditional server-side execution environments. While streaming applications can be adapted to run on Web browsers, it remains difficult to deal with temporary disconnections, energy consumption on mobile devices and a potentially very large number of heterogeneous peers that join and leave the execution environment affecting the quality of the stream. In this paper we present the decentralized control approach followed by the Web Liquid Streams (WLS) framework, a novel framework for streaming applications running on Web browsers, Web servers and smart devices. Given the heterogeneity of the deployment environment and the volatility of Web browsers, we implemented a control infrastructure which is able to take operator migration decisions keeping into account the deployment constraints and the unpredictable workload.


Ranking Function Stream Processing Execution Environment Streaming Application Streaming System 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Casteleyn, S., et al.: Ten years of rich internet applications: A systematic mapping study, and beyond. ACM Trans. Web 8(3), 18:1–18:46 (2014)CrossRefGoogle Scholar
  2. 2.
    Tilkov, S., et al.: Node.js: Using javascript to build high-performance network programs. IEEE Internet Computing 14(6), 80–83 (2010)CrossRefGoogle Scholar
  3. 3.
    Babazadeh, M., Pautasso, C.: A RESTful API for controlling dynamic streaming topologies. In: Proc. of WWW Companion, Seoul, Korea, April 2014Google Scholar
  4. 4.
    Hirzel, M., et al.: A catalog of stream processing optimizations. ACM Comput. Surv. 46(4), 46:1–46:34 (2014)CrossRefGoogle Scholar
  5. 5.
    Babazadeh, M., et al.: The stream software connector design space: frameworks and languages for distributed stream processing. In: Software Architecture (WICSA). IEEE/IFIP (2014)Google Scholar
  6. 6.
    Apache: Storm, distributed and fault-tolerant realtime computation (2011)Google Scholar
  7. 7.
    Zaharia, M., et al.: Discretized streams: an efficient and fault-tolerant model for stream processing on large clusters. In: Proc. of USENIX HotCloud, pp. 10–16 (2012)Google Scholar
  8. 8.
    Akidau, T., et al.: Millwheel: Fault-tolerant stream processing at internet scale. In: Proc. VLDB Endow., pp. 734–746 (2013)Google Scholar
  9. 9.
    Kumar, K., Lu, Y.H.: Cloud computing for mobile users: Can offloading computation save energy? Computer 43(4), 51–56 (2010)CrossRefGoogle Scholar
  10. 10.
    Cuervo, E., et al.: MAUI: making smartphones last longer with code offload. In: Proc. of MobiSys, pp. 49–62. ACM (2010)Google Scholar
  11. 11.
    Kosta, S., et al.: Thinkair: dynamic resource allocation and parallel execution in the cloud for mobile code offloading. In: INFOCOM, 2012 Proceedings IEEE, pp. 945–953 (2012)Google Scholar
  12. 12.
    Aniello, L., Baldoni, R., Querzoni, L.: Adaptive online scheduling in storm. In: Proc. of DEBS, pp. 207–218. ACM (2013)Google Scholar
  13. 13.
    Sax, M.J., et al.: Performance optimization for distributed intra-node-parallel streaming systems. In: ICDE Workshops, pp. 62–69. IEEE Computer Society (2013)Google Scholar
  14. 14.
    Taivalsaari, A., et al.: Liquid software manifesto: the era of multiple device ownership and its implications for software architecture. In: Proc. of COMPSAC 2014, pp. 338–343. IEEE Computer Society (2014)Google Scholar
  15. 15.
    Mikkonnen, T., Systa, K., Pautasso, C.: Towards liquid web applications. In: Proc. ICWE 2015. Springer, Rotterdam (2015)Google Scholar
  16. 16.
    Bonetta, D., Pautasso, C.: An architectural style for liquid web services. In: 9th Working IEEE/IFIP Conference on Software Architecture (WICSA 2011) (2011)Google Scholar
  17. 17.
    Jelasity, M., et al.: Gossip-based aggregation in large dynamic networks. ACM Trans. Comput. Syst. 23(3), 219–252 (2005)CrossRefGoogle Scholar
  18. 18.
    Fuggetta, A., et al.: Understanding code mobility. IEEE Trans. Softw. Eng. 24(5), 342–361 (1998)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Masiar Babazadeh
    • 1
    Email author
  • Andrea Gallidabino
    • 1
  • Cesare Pautasso
    • 1
  1. 1.Faculty of InformaticsUniversity of Lugano (USI)LuganoSwitzerland

Personalised recommendations