ended3월 21일· 1 sources
Decoupling a Live App with Domain Events (Part 2)
도메인 이벤트를 활용한 운영 중인 앱의 디커플링 (2부)
Why it matters
Phase 1 of decoupling a live app involved applying the RabbitMQ event bus pattern to all Tier 1 services, building 14 Zod schemas, 25 queue handlers, and 79 new tests across CommentService, RecordService, and OccurrenceCrudHelper. A dual-write strategy was used for safety—services emit events while retaining inline side effects, so if the event broker fails, existing logic still handles the work. Event schema design emphasized minimal payloads with only IDs, optional diff fields for updates to prevent race conditions, and distinct events for visibility changes.
1
Sources
+0
24h
—
Growth
176d
Active
RabbitMQDomain EventsDual-WriteZodEvent Bus