Repository navigation
perf(safety): 혼재 판정 그래프를 메모리 사본으로, 화물별 판정·LLM 호출을 동시에 - #44
Merged
Merged
Conversation
운영 Neo4j(Aura)는 조회 한 번이 약 300ms 라 근거 패널 한 번이 약 20초 걸렸다(화물 6종 배). - 판정이 읽는 그래프 조회 9개는 기준 데이터라 메모리 사본(graph_snapshot, 10분마다 갱신)으로 바꿨다. 같은 답을 내는지 로컬 그래프 전 화학물질로 Cypher 와 대조한다(test_graph_snapshot). - 화물별 판정·같은 선박 비교를 화물마다 동시에 돌린다(DB 해석은 먼저 순서대로). - 혼재 서술 LLM 을 종합 문장 LLM 과 함께 기다린다(종합 문장은 규칙 결과만 본다). - 기동 시 사본을 미리 읽는다. 로컬 접안 선박 10척 옛/새 코드 연속 판정 — 등급·근거 동일. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
운영 Neo4j(Aura)는 조회 한 번이 약 300ms 라 근거 패널 한 번이 약 20초 걸렸다(화물 6종 배).