-
Notifications
You must be signed in to change notification settings - Fork 0
Open
4 / 44 of 4 issues completedLabels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
동작 흐름
[1] Crawler: (정제) 원문 → MongoDB.
[2] Crawler → Backend: 메타데이터 등록(API) → RDB.status = PENDING.
[3] Backend(배치/스케줄러): PENDING 기사 선택 →
Redis Streams x:summary.request 에 {articleId, …} enqueue →
RDB.status = QUEUED (jobId/priority 등 기록).
[4] AI Worker(consumer group): x:summary.request 소비 시작 →
Backend에 ‘시작 알림’을 Streams 또는 HTTP로 전달(택1) →
RDB.status = IN_PROGRESS.
[5] AI Worker: MongoDB에서 원문 조회 → 요약 생성 →
MongoDB에 요약 upsert(articles.summary 또는 별도 컬렉션).
[6] AI Worker: x:summary.complete 에 {articleId, model, …, resultRef} publish.
Backend(complete consumer): 메시지 수신 → Mongo 요약 존재 확인 →
RDB.status = DONE (실패 시 FAILED, 재시도 정책 반영).
[7] 보존기간 경과 원문 삭제: MongoDB TTL 인덱스 또는 Backend 배치 잡로 정기 삭제.
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation