Skip to content

Latest commit

 

History

History
49 lines (25 loc) · 2.04 KB

questions.md

File metadata and controls

49 lines (25 loc) · 2.04 KB

Chapter 11 Questions

What is the difference between batch processing and stream processing?

-- YOUR ANSWER HERE --

Explain Publish/Subscribe in your own words. What are some of the concerns to keep in mind when choosing a pub/sub system?

-- YOUR ANSWER HERE --

What is a message broker? Name an example of a message broker and how it is different from a database and a simple queue.

-- YOUR ANSWER HERE --

Is it possible to have "only once delivery" of a message? If so, how?

-- YOUR ANSWER HERE --

How do log-based message brokers (like Kafka) work? How do they scale to millions of messages read per second? What are the guarantees that kafka provides, and some things to keep in mind when using it?

-- YOUR ANSWER HERE --

What are problems that can occur if a producer falls behind in producing messages? A consumer? What are some ways that can be solved?

-- YOUR ANSWER HERE --

What is Change Data Capture? How can it be implemented? What are some reasons why you'd want to replicate writes to the database to other locations?

-- YOUR ANSWER HERE --

What is Event Sourcing? How could it be useful in debugging a real life system? Name an example of a system that would benefit from having an ordered set of valid actions that users take against the system.

-- YOUR ANSWER HERE --

What are some cons of having immutable events and an infinitely increasing append only log? (Hint: Think about compliance and malicious actors).

-- YOUR ANSWER HERE --

What are some applications of stream processing? Assume you're working on a system that needs to batch transactions by time. What are some of the challenges of doing that in a distributed system?

-- YOUR ANSWER HERE --

Are there joins in stream processing jobs? Explain some of the kinds of joins and the difference of implementing joins in streaming processing vs. other kinds of jobs.

-- YOUR ANSWER HERE --

Are there transactions in stream processing jobs? Explain the differences in transactions in stream processing jobs vs. other kind of jobs.

-- YOUR ANSWER HERE --