Graceful Degradation
점진적 저하
점진적 저하는 선택적 의존성이 실패할 때 핵심 기능이 작동하도록 합니다. 결과는 더 작거나, 오래되거나, 세부 정보가 적을 수 있습니다.
dependency failure -> safe reduced mode -> user notice -> observe -> restore full mode검색✓작업 중카트✓작업 중추천−임시로 숨김dependency failure -> safe reduced mode -> user notice -> observe -> restore full modeSRE다른 예시
추천 서비스가 실패합니다. 검색, 제품 페이지, 장바구니는 여전히 작동합니다. 페이지는 추천을 숨기고 일시적인 변경 사항을 설명합니다.
주요 부분
- 01핵심 사용자 작업
- 02선택적 의존성
- 03실패 감지기
- 04안전하게 축소된 결과
- 05사용자 고지
- 06복구 검사
사용할 때
핵심 사용자 작업이 선택적 의존성 없이 안전하게 유지될 때 사용하세요. 축소된 결과, 알림, 테스트 및 복구 경로를 정의하세요.
다음 경우에는 사용하지 마세요
데이터가 없어서 답변이 안전하지 않은 경우 결제, 권한, 안전성 검사를 약화시키지 마십시오. 오래된 데이터를 최신이라고 표시하지 마십시오.
코드에서 사용된 이름
dependency failure -> safe reduced mode -> user notice -> observe -> restore full mode 출시하기 전에
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome:Complete the task with 점진적 저하 (Graceful Degradation)。 User context:추천 서비스가 실패합니다. 검색, 제품 페이지, 장바구니는 여전히 작동합니다. 페이지는 추천을 숨기고 일시적인 변경 사항을 설명합니다. Technical concept or control:점진적 저하 (Graceful Degradation)。 Why it fits:핵심 사용자 작업이 선택적 의존성 없이 안전하게 유지될 때 사용하세요. 축소된 결과, 알림, 테스트 및 복구 경로를 정의하세요. Do not use it when:데이터가 없어서 답변이 안전하지 않은 경우 결제, 권한, 안전성 검사를 약화시키지 마십시오. 오래된 데이터를 최신이라고 표시하지 마십시오. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
이 요청을 확인하세요
Review how 점진적 저하 (Graceful Degradation) is used now. Definition: 점진적 저하는 선택적 의존성이 실패할 때 핵심 기능이 작동하도록 합니다. 결과는 더 작거나, 오래되거나, 세부 정보가 적을 수 있습니다. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.