How to Get Stronger Consistency Out of a Datastore (2019)(blog.sentry.io)
blog.sentry.io
How to Get Stronger Consistency Out of a Datastore (2019)
https://blog.sentry.io/2019/09/17/how-to-get-stronger-consistency-out-of-a-datastore/
3 comments
[deleted]
I'm not sure about the first part of the solution. Why isn't it enough for the "post process" consumer to wait for events on a "persisted events" topic? And have snuba copy there a message only after it was persisted (and available on all replicas)?
/edit: actually, why does the "post process" consumer even cares about events not persisted yet?
/edit: actually, why does the "post process" consumer even cares about events not persisted yet?
Framing these problems slightly differently - is 10 second latency close enough to “real time”? - unlocks solutions like an online batch processor that reads out of your DB (if it doesn’t support NOTIFY) on an indexed incremental identifier.