Chapter 10. Deployment Models

This chapter will cover several deployment models for a spectrum of use cases. A key aspect of our exploration will be to find out where leveraging streaming databases is most advantageous and when alternative approaches might be more suitable. We will account for all the streaming attributes we covered in the past chapters, including consistency, workload types, storage formats, and the ideas about the streaming plane introduced in Chapter 9.

We will focus on unraveling various architectural patterns facilitating real-time analytics in the streaming plane. The streaming plane’s dynamic nature exposes a unique set of strategies to harness its potential effectively. It can support a spectrum of real-time use cases:

  • At one end of the spectrum are the use cases that interact with the application deployed in the operational plane. These streaming solutions require consistency but have limited access to historical data.

  • On the other end of the spectrum are the use cases that only deal with real-time analytics without the need for interaction with application logic. These streaming solutions can be eventually consistent and have access to all historical data.

Of course, different degrees of consistency and historical data can be met along the spectrum. We’ll cover the entire real-time analytical spectrum from left (consistent/internally consistent solutions) to right (analytical only).

It’s important for us to stress that the solutions in this chapter ...

Get Streaming Databases now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.