Please enable JavaScript.
Coggle requires JavaScript to display documents.
Hiding the lead - Coggle Diagram
Hiding the lead
Независимый деплой
Zero downtime deployment
Обратная
совместимость
для апстрима
Иначе катастрофа, каскадный отказ
Структура
Модульность
Неймспейсы, packages
Статическая линковка
Деплоим одной пачкой
Микросервисы
Общение через сеть
Независимый деплой
Information hiding
David Parnas 1971
Скрытое можем менять
Раскрытое становится контрактом
Использовать аннотации и dto
Connections are assumptions
hiding is about
reducing the assumptions
Schemas can help
Явный контракт
Структура
Coupling
Domain
Smells
A lot of outbound
Tramp
?
Common
Shared JSON
Shared readonly DB
Content
Shared DB
Data Inconsistency
Aka Pathological Coupling
Worst form of coupling
Fix: Use interface of one service
Cohesion
weak cohesion
Менять множество модулей
High maintenance cost
Distributed monolith
Constantine Law
A structure is stable
if cohesion is strong
and coupling is low.