Adaptive Real Time IoT Stream Processing in Microservices Architecture

Authors Luca Bixio, Giorgio Delzanno, Stefano Rebora, Matteo Rulli

Thumbnail PDF


  • Filesize: 0.68 MB
  • 20 pages

Document Identifiers

Author Details

Luca Bixio
  • Flairbit s.r.l, Genova, Italy
Giorgio Delzanno
  • DIBRIS, University of Genova, Italy
Stefano Rebora
  • Flairbit s.r.l, Genova, Italy
Matteo Rulli
  • Flairbit s.r.l, Genova, Italy

Cite AsGet BibTex

Luca Bixio, Giorgio Delzanno, Stefano Rebora, and Matteo Rulli. Adaptive Real Time IoT Stream Processing in Microservices Architecture. In Recent Developments in the Design and Implementation of Programming Languages. Open Access Series in Informatics (OASIcs), Volume 86, pp. 12:1-12:20, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2020)


The Internet of Things (IoT) has created new and challenging opportunities for Data Analytics. IoT represents an infinitive source of massive and heterogeneous data, whose real-time processing is an increasingly important issue. Real-time Data Stream Processing is a natural answer for the majority of the goals of IoT platforms, but it has to deal with the highly variable and dynamic IoT environment. IoT applications usually consist of multiple technological layers connecting ‘things’ to a remote cloud core. These layers are generally grouped in two macro-levels: the edge-level (consisting of the devices at the boundary of the network near the devices that produce the data) and the core-level (consisting of the remote cloud components of the application). Real-time Data Stream Processing has to cope with a wide variety of technologies, devices and requirements that vary depending on the two IoT application levels. The aim of this work is to propose an adaptive microservices architecture for an IoT platform able to integrate real-time stream processing functionalities in a dynamic and flexible way, with the goal of covering the different real-time processing requirements that exist among the different levels of an IoT application. The proposal has been formulated for extending Senseioty, a proprietary IoT platform developed by FlairBit S.r.l., but it can easily be integrated in any other IoT platform. A preliminary prototype has been implemented as proof of concept of the feasibility and benefits of the proposed architecture.

Subject Classification

ACM Subject Classification
  • Computer systems organization → Cloud computing
  • Cloud Computing
  • Service Oriented Computing
  • Internet of Things
  • Real-time Stream Processing
  • Query Languages


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. AMQP protocol. URL:
  2. Apache CXF. URL:
  3. Apache CXF Distributed OSGi. URL:
  4. Apache flink. URL:
  5. Apache ignite. URL:
  6. Apache karaf. URL:
  7. Apache samza. URL:
  8. Apache storm. URL:
  9. Apache zookeeper. URL:
  10. Bnd tools. URL:
  11. Kafka streams. URL:
  12. Kubernetes. URL:
  13. Maven. URL:
  14. Osgi alliance. URL:
  15. Osgi architecture. URL:
  16. Osgi event admin service. URL:
  17. Osgi service layer. URL:
  18. Pax url. URL:
  19. RabbitMQ. URL:
  20. Remote services specification. URL:
  21. Senseioty. URL:
  22. Siddhi streaming and complex event processing system. URL:
  23. B. Shivnath A. Arvind and W. Jennifer. The cql continuous query language: Semantic foundations and query execution., 2003.
  24. M. Abbott and M. Fisher. The Art of Scalability: Scalable Web Architecture, Processes, and Organizations for the Modern Enterprise. Addison-Wesley Professional, 2015. Google Scholar
  25. M. Fowler and J. Lewis. Microservices - a definition of this new architectural term., 2014.
  26. M. Gabbrielli, S. Giallorenzo, I. Lanese, and S. P. Zingaro. A language-based approach for interoperability of iot platforms. In Tung Bui, editor, 51st Hawaii International Conference on System Sciences, HICSS 2018, Hilton Waikoloa Village, Hawaii, USA, January 3-6, 2018, pages 1-10. ScholarSpace / AIS Electronic Library (AISeL), 2018. Google Scholar
  27. R. Hall, K. Pauls, S. McCulloch, and D. Savage. OSGi in Action, Creating Modular Applications in Java. Manning, 2011. Google Scholar
  28. C. Richardson. Building microservices: Using an api gateway., 2015.
  29. C. Richardson. Event-driven data management for microservices., 2015.
  30. C. Richardson. Choosing a microservices deployment strategy., 2016.
  31. M. Robert. Agile Software Development: Principles Patterns And Practices. Pearson, 2003. Google Scholar