Health Check
Health Check
📖 定义
Health Check is a mechanism that periodically probes backend service status, detecting whether services are running normally through active or passive methods. Unhealthy instances are automatically removed from the load balancing pool to prevent requests from being routed to faulty nodes.
🔗 在 Higress 中的应用
Higress supports various health check methods such as HTTP, TCP, and gRPC, and can configure parameters such as check interval, timeout, and health threshold to achieve precise service status management.
💡 示例
- 1 Send HTTP GET /health every 10 seconds to check service status
- 2 Mark instance as unhealthy after 3 consecutive check failures
- 3 Automatically rejoin service pool after unhealthy instance recovers
🔄 相关术语
❓ 常见问题
Health Check 是什么?
Health Check is a mechanism that periodically probes backend service status, detecting whether services are running normally through active or passive methods. Unhealthy instances are automatically removed from the load balancing pool to prevent requests from being routed to faulty nodes.
Higress 如何支持 Health Check?
Higress supports various health check methods such as HTTP, TCP, and gRPC, and can configure parameters such as check interval, timeout, and health threshold to achieve precise service status management.
深入了解 Higress
探索更多 Higress 的功能和最佳实践