Event-driven architecture (EDA) shine nau'i na gida inda sassa-sassa suna jira ta samar da abubuwan (wani abu da ya faru) da amsa ga su — maimakon kiran kai tsaye. Yana bayarwa da yawan samarda maba, iya girma, da mabari, kuma yana yawanci a gida a cikin tsarin nau'i mai yawa.
Menene addini-hadawakar tsohuwar abubuwan
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.
