English
☰ 분류

외부 서비스가 죽었을 때를 대비하는 프롬프트

의존하는 외부 서비스가 멈추면 무엇이 어떻게 되는지 미리 따집니다.

분류개발 › 배포·운영
태그분석검토개발자
프롬프트 (영어 본문 · 답은 한국어로 옵니다)
Plan for each of these dependencies failing.

Per dependency, three failure modes — they behave very differently:
- **Hard down** — errors immediately
- **Slow** — responds eventually. *This is the dangerous one: threads pile up waiting and the whole system stalls, which looks like our failure, not theirs.*
- **Wrong** — responds successfully with bad data

For each mode:
1. What breaks on our side, and whether it stays contained or spreads.
2. Whether we fail open or closed, and which is correct here. For a payment check, failing open is a loss; for a recommendation, failing closed is a worse experience.
3. Timeout and retry setting. Retries during a dependency outage amplify the outage — say whether backoff and a circuit breaker are needed.
4. Whether a cached or stale response would serve, and how stale is acceptable.
5. What the user sees.

Then:
- Which dependency is on the critical path for the core action, and whether it should be.
- Dependencies that are single points of failure for our stated availability commitment. *If any third party has lower availability than we promise, we cannot meet our own number* — say so plainly.
- What to test, and how to simulate each mode.
붙여 넣으면 맨 아래에 채울 칸(의존하는 외부 서비스 · 우리 시스템 · 약속한 가용성)이 나옵니다

어떤 프롬프트인가

남의 서비스는 반드시 언젠가 멈춘다. 이 프롬프트는 각 의존성이 죽었을 때 우리 쪽이 어떻게 되는지를 따지고, 조용히 느려지는 경우(타임아웃 누적)를 특히 짚는다.

같은 분류의 프롬프트

프로덕션 AI 에이전트 설계 프롬프트
AI 에이전트 보안 점검 프롬프트
AI 제공자 요금 조사 프롬프트
상자 탈출 AI 역할을 맡기는 프롬프트
보안 경고 분석 프롬프트