Private
Private · High Availability
HA topology · DB primary-replica · LLM multi-vendor failover
Eliminate single points of failure. Consider it across the application layer, the data layer, and the model layer simultaneously.
Three-Layer HA Checklist
Application Layer
Recommended K8s configuration:
| Component | Replicas | PDB (PodDisruptionBudget) |
|---|---|---|
| evose-api | ≥ 3 | minAvailable: 2 |
| evose-worker | ≥ 2 | minAvailable: 1 |
| evose-web | ≥ 2 | minAvailable: 1 |
Data Layer
MySQL
| Option | Best for |
|---|---|
| Primary-replica + manual failover | Small-mid scale |
| MGR (Group Replication) | Recommended, production |
| MySQL InnoDB Cluster | Large scale, mature ops needed |
| Aliyun RDS / cloud DB | Managed — least overhead |
PostgreSQL + pgvector
| Option | Best for |
|---|---|
| Streaming replication + Patroni | Recommended |
| Citus sharding | Large-scale knowledge bases |
| Aliyun PolarDB / cloud DB | Managed |
Redis
| Option | Best for |
|---|---|
| Primary-backup + sentinel | Default |
| Redis Cluster | Large scale / cross-DC |
Model-Layer HA
Multi-Vendor Failover
Interface platform registers the same model with multiple vendors:
Self-Hosted Multi-Instance
Cross-DC / Multi-Region
Advanced. Recommended:
Failure Drills
| Drill | Frequency | Target RTO |
|---|---|---|
| Single API Pod failure | Monthly | < 30s |
| Primary MySQL failure | Quarterly | < 5min |
| Single LLM vendor failure | Monthly | < 10s |
| Whole DC failure | Semi-annually | < 30min |