Timeline for Event sourcing: Update local data before posting an event?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 10, 2020 at 14:37 | comment | added | Stack Exchange Broke The Law | What happens if I pay Jim $50, and I pay Bob $50, before the payment service receives the first event back from the event store and decrements my account (which had $60 in it)? | |
| Aug 10, 2020 at 14:03 | answer | added | VoiceOfUnreason | timeline score: 2 | |
| Aug 10, 2020 at 13:34 | comment | added | jramm | @BartvanIngenSchenau thats a scenario we have not considered/come across and is very interesting, thanks! | |
| Aug 10, 2020 at 13:22 | comment | added | Bart van Ingen Schenau | Can you ensure the following will never happen: * API1 database contains data that is not contained in the event, but is calculated from it. * API2 needs this calculated data * API2 requests the data before API1 has processed the event, thus getting the wrong calculated data. | |
| Aug 10, 2020 at 13:00 | history | asked | jramm | CC BY-SA 4.0 |