Data stream processing via code annotations

  • Marco Danelutto
  • Tiziano De Matteis
  • Gabriele Mencagli
  • Massimo Torquati
Article

DOI: 10.1007/s11227-016-1793-9

Cite this article as:
Danelutto, M., De Matteis, T., Mencagli, G. et al. J Supercomput (2016). doi:10.1007/s11227-016-1793-9
  • 101 Downloads

Abstract

Time-to-solution is an important metric when parallelizing existing code. The REPARA approach provides a systematic way to instantiate stream and data parallel patterns by annotating the sequential source code with \({\mathtt {C}}\)++\({\mathtt {11}}\) attributes. Annotations are automatically transformed in a target parallel code that uses existing libraries for parallel programming (e.g., FastFlow). In this paper, we apply this approach for the parallelization of a data stream processing application. The description shows the effectiveness of the approach in easily and quickly prototyping several parallel variants of the sequential code by obtaining good overall performance in terms of both throughput and latency.

Keywords

Code annotations Parallel patterns Data stream processing 

Copyright information

© Springer Science+Business Media New York 2016

Authors and Affiliations

  • Marco Danelutto
    • 1
  • Tiziano De Matteis
    • 1
  • Gabriele Mencagli
    • 1
  • Massimo Torquati
    • 1
  1. 1.Department of Computer ScienceUniversity of PisaPisaItaly

Personalised recommendations