Software Architecture · Design Patterns
How would you answer an interview scenario involving Observer pattern?
A domain event must update notifications and analytics. Explain when an in-process observer is enough and when messaging is preferable.