Event-driven architecture (EDA) hija disinn fejn il-komponenti jikkomunikaw billi jipproduċu u jirreaġixxu għal events (xi ħaġa li ġrat) — minflok ma jkollhom sejħat diretti. Din tippermetti coupling liberu, skalabbilità, u responsività, u hija komuni f'sistemi distribuiti moderni.
X'inhu event-driven architecture
Components communicate via EVENTS (a notification that something happened):
→ PRODUCERS emit events ("order placed", "user signed up") without knowing who handles them
→ CONSUMERS react to events they care about (asynchronously)
→ an event BROKER/bus (Kafka, message queue) routes events
→ components are DECOUPLED → they react to events, not call each other directly.
