Context

데이터 처리 에러 확인하다가: dev 환경의 에러가 prod 환경 데이터 처리를 실패시키고 있었음

What I Learned

이럴 때 쓰는 오퍼레이션을 best-effort 라는 용어로 표현한다

Best-effort operation = non-guaranteed attempt (networking context에서 많이 사용 - packets may be dropped)

  • no strict guarantee (fail or incomplete may happen)
  • failure tolerated (dev 처리 실패해도 prod operation crash 하면 안 되지)
  • for non-critical tasks (e.g., logging, metrics, cleanup jobs)
  • performance prioritized over reliability

Note

guarantees are expensive, so sometimes unnecessary.

이거랑 별개로 이 cross-env crash bug issue 는 너무나 취약한 설계라 당황스러움 (오래된 레거시 코드임). best-effort 로 수정 완료.

← All TIL