Làm sao để đảm bảo HA (high availability) cho PostgreSQL?
Làm sao để đảm bảo HA (high availability) cho PostgreSQL?
HA (High Availability) = giảm thời gian ngừng khi hỏng node. Thành phần:
Streaming replication (sync hoặc async) tới một/ nhiều standby; synchronous_commit/ synchronous_standby_names để giảm mất dữ liệu (RPO≈0, đổi lại độ trễ).
Patroni + etcd/ Consul/ ZooKeeper (DCS) bầu leader, tự promote standby, quản lý cấu hình. Thay thế: repmgr, pg_auto_failover, Stolon; Kubernetes operators (CloudNativePG, Zalando, Crunchy).
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.