Skip to Content
Grokking Streaming Systems
book

Grokking Streaming Systems

by Ning Wang, Josh Fischer
March 2022
Intermediate to advanced
312 pages
6h 29m
English
Manning Publications
Content preview from Grokking Streaming Systems

10 Stateful computation

In this chapter

  • an introduction to stateful and stateless components
  • how stateful components work
  • related techniques

Have you tried turning it off and on again?

—The IT Crowd

We talked about state in chapter 5. In most computer programs, it is an important concept. For example, the progress in a game, the current content in a text editor, the rows in a spreadsheet, and the opened pages in a web browser are all states of the programs. When a program is closed and opened again, we would like to recover to the desired state. In streaming systems, handling states correctly is very important. In this chapter, we are going to discuss in more detail how states are used and managed in streaming systems.

The migration of the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Streaming Systems

Streaming Systems

Tyler Akidau, Slava Chernyak, Reuven Lax

Publisher Resources

ISBN: 9781617297304Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link