Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-nmvwc Total loading time: 0 Render date: 2024-06-23T13:28:00.910Z Has data issue: false hasContentIssue false

4 - Application development – data flow programming

from Part II - Application development

Published online by Cambridge University Press:  05 March 2014

Henrique C. M. Andrade
Affiliation:
J. P. Morgan
Buğra Gedik
Affiliation:
Bilkent University, Ankara
Deepak S. Turaga
Affiliation:
IBM Thomas J. Watson Research Center, New York
Get access

Summary

Overview

In this chapter we study data flow programming, including flow composition and flow manipulation. Flow composition focuses on techniques used for creating the topology associated with the flow graph for an application, while flow manipulation covers the use of operators to perform transformations on these flows.

We start by introducing different forms of flow composition in Section 4.2. In Section 4.3, we discuss flow manipulation and the properties of stream processing operators, including their internal state, selectivity, and arity, as well as parameterization, output assignments and functions, punctuations, and windowing configuration used to perform such manipulation.

Flow composition

Flow composition patterns fall into three main categories: static, dynamic, and nested composition.

Static composition is used to create the parts of the application topology that are known at development time. For instance, consider an application that has a source operator consuming data from a specific Internet source, for example, a Twitter [1] feed. Let's assume that the stream generated by the source is to be processed by a specific operator that analyzes this data, for example, a sentiment analysis operator [2] that probes the messages for positive or negative tone. In this case, the connection between the source operator and the analysis operator is known at development time and thus can be explicitly created by connecting the output port of the source operator to the input port of the analysis operator.

Type
Chapter
Information
Fundamentals of Stream Processing
Application Design, Systems, and Analytics
, pp. 106 - 147
Publisher: Cambridge University Press
Print publication year: 2014

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

[1] Twitter; retrieved in March 2011. http://www.twitter.com/.
[2] Liu, B. Sentiment analysis and subjectivity. In: Dale, R, Moisl, H, Somers, H, editors. Handbook of Natural Language Processing. 2nd edn. CRC Press; 2010. pp. 627–666.Google Scholar
[3] Guha, R, McCool, R, Miller, E. Semantic search. In: Proceedings of the International Conference on World Wide Web (WWW). Budapest, Hungary; 2003. pp. 700–709.Google Scholar

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×