Development and Production.Development 和 Production 。
| Deployment Type 部署类型 | CPU/Memory CPU/内存 | Scaling 扩展 | Database 数据库 |
|---|---|---|---|
| Development 开发 | 1 CPU, 1 GB RAM | Up to 1 replica 最多 1 个副本 | 10 GB disk, no backups 10 GB 磁盘,无备份 |
| Production 生产环境 | 2 CPU, 2 GB RAM | Up to 10 replicas 最多 10 个副本 | Autoscaling disk, automatic backups, highly available (multi-zone configuration) 自动扩展磁盘、自动备份、高可用性(多区域配置) |
Production type deployments are suitable for “production” workloads. For example, select Production for customer-facing applications in the critical path.Production 类部署适用于“生产”工作负载。例如,对于关键路径中的面向客户的应用程序,选择 Production 。
Resources for Production type deployments can be manually increased on a case-by-case basis depending on use case and capacity constraints. Contact support@langchain.dev to request an increase in resources.Production 类型部署的资源可以根据具体使用场景和容量限制手动增加。如需增加资源,请联系 support@langchain.dev。
Development type deployments are suitable development and testing. For example, select Development for internal testing environments. Development type deployments are not suitable for “production” workloads.Development 类型部署适合开发和测试。例如,可选择 Development 用于内部测试环境。 Development 类型部署不适合“生产”工作负载。
Development type deployments (API server, queue server, and database) are provisioned on preemptible compute infrastructure. This means the compute infrastructure may be terminated at any time without notice. This may result in intermittent…Development 类型部署(API 服务器、队列服务器和数据库)是在可抢占式计算基础设施上配置的。这意味着计算基础设施可能在任何时候无通知被终止。这可能导致间歇性问题……Development type deployment. By design, LangGraph Server is fault-tolerant. The implementation will automatically attempt to recover from Redis/Postgres connection errors and retry failed background runs.Development 类型应用的成本。根据设计,LangGraph Server 具有容错性。实现将自动尝试从 Redis/Postgres 连接错误中恢复,并重试失败的后台运行。Production type deployments are provisioned on durable compute infrastructure, not preemptible compute infrastructure.Production 永久型部署是在耐久型计算基础设施上配置的,而不是在可抢占型计算基础设施上配置的。Development type deployments can be manually increased on a case-by-case basis depending on use case and capacity constraints. For most use cases, TTLs should be configured to manage disk usage. Contact support@langchain.dev to request an increase in resources.Development 类型部署的数据库磁盘大小可以根据具体使用情况和容量限制手动调整。对于大多数使用场景,应配置 TTL 来管理磁盘使用。如需增加资源,请联系 support@langchain.dev。
LANGCHAIN_TRACING and LANGSMITH_API_KEY/LANGCHAIN_API_KEY environment variables do not need to be specified; they are set automatically by the control plane.LANGCHAIN_TRACING 和 LANGSMITH_API_KEY / LANGCHAIN_API_KEY 环境变量;它们会由控制平面自动设置。
When a deployment is deleted, the traces and the tracing project are not deleted.