From Prototype to Production(从原型到生产)
知识库位置:
FDE Knowledge Base/05 Delivery/Production/From-Prototype-to-Production.md
Prototype(原型) 和 Production(生产环境) 的差距非常大。
Prototype 通常关注:
Does it work?(它能不能跑起来?)Production 关注:
Does it work reliably?(它是否可靠?)Does it work securely?(它是否安全?)Can we operate it?(我们能否运维它?)Can we scale it?(它能否扩展?)进入 Production(生产上线)需要考虑:
Reliability(可靠性)
Section titled “Reliability(可靠性)”- Retry(重试)
- Timeout(超时)
- Circuit Breaker(熔断器)
- Failover(故障切换)
Security(安全)
Section titled “Security(安全)”- Authentication(身份认证)
- Authorization(授权)
- Secret Management(密钥管理)
- Encryption(加密)
Observability(可观测性)
Section titled “Observability(可观测性)”- Logs(日志)
- Metrics(指标)
- Traces(链路追踪)
- Alerts(告警)
Deployment(部署)
Section titled “Deployment(部署)”- CI/CD(Continuous Integration / Continuous Delivery,持续集成/持续交付)
- Rollback(回滚)
- Environment Management(环境管理:Dev / Staging / Prod,开发/预发/生产)
Operations(运维)
Section titled “Operations(运维)”- Runbook(运维手册)
- Incident Response(事故响应)
- SLA(Service Level Agreement,服务等级协议)
- Support(支持体系)
Cost(成本)
Section titled “Cost(成本)”尤其 AI 系统需要监控:
- Token Cost(Token 成本)
- Model Cost(模型成本)
- Infrastructure Cost(基础设施成本)
- Cost per Task(单任务成本)
FDE 的重要能力之一就是:
把“能跑”(It works)变成“能长期运行”(It runs reliably in production,能在生产环境长期稳定运行)。