ਈਵੈਂਟ-ਚਾਲਿਤ ਆਰਕੀਟੈਕਚਰ (EDA) ਇੱਕ ਡਿਜ਼ਾਈਨ ਹੈ ਜਿੱਥੇ ਕੰਪੋਨੈਂਟਸ ਈਵੈਂਟਸ (ਕੁਝ ਜੋ ਹੋਇਆ) ਪੈਦਾ ਕਰਕੇ ਅਤੇ ਉਹਨਾਂ ਦਾ ਜਵਾਬ ਦੇਕੇ ਸੰਚਾਰ ਕਰਦੇ ਹਨ — ਸਿੱਧੀਆਂ ਕਾਲਾਂ ਦੀ ਬਜਾਏ। ਇਹ ਢਿੱਲੀ ਜੁੜੀ ਤਾਰੀਖ, ਮਾਪ ਯੋਗਤਾ, ਅਤੇ ਜਵਾਬਦੇਹੀ ਪਨ ਨੂੰ ਸਮਰੱਥ ਬਣਾਉਂਦਾ ਹੈ, ਅਤੇ ਆਧੁਨਿਕ ਵੰਡਿਆ ਹੋਇਆ ਸਿਸਟਮਾਂ ਵਿੱਚ ਆਮ ਹੈ।
ਈਵੈਂਟ-ਚਾਲਿਤ ਆਰਕੀਟੈਕਚਰ ਕੀ ਹੈ
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.
