← Graph

How often should projections be rebuilt?

question 1 connections

Audience asks whether every event must end with a projection, and how fresh read models need to be. Answer: it's a business decision. Typical end-to-end latency is about a second for a command to reach a projection; ask your client whether three seconds of lag is acceptable. Users never see truly fresh data anyway — even a product page is stale within half a second of render. Start from 'near-instant' and iterate.

answer_summary
It's a business decision. Default to near-instant projections; a few seconds of lag is usually fine because no UI is ever truly fresh.
question How often should projections be rebuilt?
asked_at
Asked during Q&A.

Provenance

Read by
1 extraction