Tag: software-architecture
All the articles with the tag "software-architecture".
-
Event Notification vs. Direct Sync Push: Who Should Depend on Whom?
🇺🇸 ENWhen a shared upstream service needs to tell a downstream consumer that something happened, it can publish a thin event with a callback, or call the downstream directly. A dimension-by-dimension comparison of the two, and the one question that usually decides it: who ends up depending on whom.
-
Cross-Cutting Concern trong Lập Trình: tại sao logging, security, transaction lại làm rối code và cách tách chúng ra
🇻🇳 VICross-cutting concern là những yêu cầu kỹ thuật (logging, security, transaction, caching...) xuyên suốt nhiều module nhưng không thuộc logic nghiệp vụ nào. Bài viết giải thích vì sao chúng gây tangling/scattering và các kỹ thuật tách chúng ra (AOP, middleware, MediatR behavior, decorator, DI interceptor).