Event-driven architecture (EDA) என்பது ஒரு வடிவமைப்பு முறை, இதில் components தங்களுக்கு இடையே events (நடந்த ஒன்று) மூலமாக தொடர்பு கொள்கின்றன — நேரடி அழைப்புகளுக்குப் பதிலாக। இது loose coupling, scalability, மற்றும் responsiveness ஐ செயல்படுத்துகிறது, மேலும் இது நவீன distributed systems இல் பொதுவானது.
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.
