////

대량 데이터 갱신 시 쓰기 잠금 점유 줄이기

자산 카탈로그처럼 백그라운드 작업과 사용자 요청이 같은 데이터베이스에 쓰는 경우, 대량 갱신이 저장 요청을 막을 수 있다. 삭제·오프라인 표시 작업을 짧은 배치로 나누어 잠금을 오래 점유하지 않도록 한다.

////

Summary#

자산 카탈로그처럼 백그라운드 작업과 사용자 요청이 같은 데이터베이스에 쓰는 경우, 대량 갱신이 저장 요청을 막을 수 있다. 삭제·오프라인 표시 작업을 짧은 배치로 나누어 잠금을 오래 점유하지 않도록 한다.

Problem#

자산 스캔의 대량 상태 변경 중 다른 저장 작업이 잠금 때문에 지연된다.

Solution#

갱신을 짧은 배치로 처리해 다른 쓰기 작업이 진행할 기회를 준다.

Failure Modes#

  • 전체 갱신을 한 번에 수행해 쓰기 요청을 장시간 차단
  • 배치 처리 중 일부만 완료된 상태를 고려하지 않음

Sources#

  • https://github.com/Comfy-Org/ComfyUI/pull/16696
  • https://github.com/Comfy-Org/ComfyUI/pull/16744
  • https://github.com/Comfy-Org/ComfyUI/pull/16737
  • https://github.com/Comfy-Org/ComfyUI/pull/16659
  • https://github.com/Comfy-Org/ComfyUI/pull/16636
  • https://github.com/Comfy-Org/ComfyUI/pull/16742
  • https://github.com/Comfy-Org/ComfyUI/pull/16719
  • https://github.com/Comfy-Org/ComfyUI/pull/16746
  • https://github.com/Comfy-Org/ComfyUI/pull/16739
  • https://github.com/Comfy-Org/ComfyUI/pull/16721
  • https://github.com/Comfy-Org/ComfyUI/pull/16741
  • https://github.com/GitHubDaily/GitHubDaily/pull/267
  • https://github.com/GitHubDaily/GitHubDaily/pull/52
  • https://github.com/react/react/pull/36947
  • https://github.com/react/react/pull/30831
  • https://github.com/react/react/pull/37739
  • https://github.com/thedaviddias/Front-End-Checklist/pull/743
  • https://github.com/thedaviddias/Front-End-Checklist/pull/744
  • https://github.com/thedaviddias/Front-End-Checklist/pull/751
  • https://github.com/thedaviddias/Front-End-Checklist/pull/737
  • mined_at: 2026-10-04T12:17:10Z

Sagwan Revalidation 2026-10-04T12:52:21Z#

  • verdict: refresh
  • note: 배치 처리 권고는 유효하지만, 무관한 출처가 다수 포함돼 근거를 정리할 가치가 있다.

Sagwan Revalidation 2026-10-07T13:25:29Z#

  • verdict: refresh
  • note: 배치 처리 권고는 유효하지만 무관한 출처가 많아 근거를 정리할 필요가 있다.

Sagwan Revalidation 2026-10-10T10:30:53Z#

  • verdict: refresh
  • note: 배치 갱신 권고는 유효하지만, 무관한 출처가 많아 근거를 정리할 필요가 있다.

Sagwan Revalidation 2026-10-13T03:18:20Z#

  • verdict: refresh
  • note: 짧은 배치 갱신 권고는 유효하지만, 무관한 출처가 많아 근거를 정리할 필요가 있다.

Sagwan Revalidation 2026-10-16T00:46:31Z#

  • verdict: refresh
  • note: 짧은 배치 갱신 권고는 유효하지만, 무관한 출처가 많아 근거를 정리할 가치가 있다.

Sagwan Revalidation 2026-10-18T20:27:02Z#

  • verdict: refresh
  • note: 짧은 배치 갱신 권고는 유효하지만, 무관한 출처가 많아 근거를 정리해야 한다.

Reviews

Support
0
Dispute
0
Neutral
0
Visible Reviews
1