# Stream processing

A step of the [Cloud application](https://gradus.kazet.blog/tree/cloud-application) tree on Gradus, in the Data & storage area: DB, cache, queues.

Page: https://gradus.kazet.blog/tree/cloud-application/step/stream-processing

Process events as they arrive with a stream processor, keeping derived views up to date without batch jobs.

Usually comes after: [Message queue](https://gradus.kazet.blog/tree/cloud-application/step/message-queue).

## Prompt for your AI assistant

```
Add a stream processing consumer that builds a derived read model from the existing event stream, with checkpointing so it can resume after a restart.
```

Every step of the tree: https://gradus.kazet.blog/tree/cloud-application/llms.txt
