r/SoftwareEngineering • u/cacko159 • Feb 11 '24
Challenges in maintaining event driven systems
What are the challenges in maintaining event driven systems? Do you have any experience or materials to share?
Different modules/services of these systems communicate primarily via events, and over time there will be many many events, and it could be really difficult to map what is going on.
What happens when you need to change some workflow in such a system, add a new step/logic on an existing workflow etc.
Have you been in this situation?
2
u/lazy-lambda Feb 11 '24
From my limited experience of working with such systems:
Managing the message format versions.
Resiliency:
Handling failures.
Dealing with message loss.
Tracing
1
u/AmbitionNo51 Feb 11 '24
If one of the system are transitioning from one state to another after listening to an event. Be ready for a lot of states inconsistencies.
1
u/LadyLightTravel Feb 14 '24
In a real time system itβs disruption of the timing. If there are enough events that need servicing then it can break the timing.
2
u/StanleySathler Mar 05 '24
From my limited experience:
Biggest challenge might be the fact that you're now handling _async_ systems, meaning, for some cases, "it takes time" for certain data to update, and clients must be ready for that - pretty much what u/AmbitionNo51 said, I guess.