Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>Re-runs need to happen pretty often as you change how events are handled.

Aren't you supposed to take Snapshots every now and then to solve that problem?



Migrating snapshots just moves the pain of changes : instead of letting the new projection logic replay all past events, you write code to migrate snapshots and hope that it will give the same result as the replay.

In those cases, I would rather do the replay, but do it offline before the release.


You are, but if you change how events are handled, or create a new event handler you probably need to replay all events.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: