Handling Server Failures in Cluster with Load Balancer
TLDR Saurabh asked about handling server failures in their cluster set-up. Jason suggested having an odd number of nodes, at least 3, to tolerate a 1 node failure.
Powered by Struct AI
2
3mo
Solved
Jun 23, 2023 (3 months ago)
Saurabh
Saurabh
09:24 PMhi team !!
I have set-up 2 clusters with a load balancer !!!! If one server goes down, the other server also goes down? how can we handle this ?
I have set-up 2 clusters with a load balancer !!!! If one server goes down, the other server also goes down? how can we handle this ?
Jason
Jason
09:31 PMI assume you meant 2 nodes in a single cluster (and not two separate clusters).
You need an odd number of nodes to form a stable cluster. So you’d need at least 3 nodes, to make sure that the cluster can tolerate a 1 node failure.
You need an odd number of nodes to form a stable cluster. So you’d need at least 3 nodes, to make sure that the cluster can tolerate a 1 node failure.
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2776 threads (79% resolved)
Similar Threads
Starting Cluster with Just Two Servers
JinW asked if a cluster could be started with only 2 servers. Kishore Nallan explained it was possible but issues might arise, recommending a minimum of 3 nodes.
4
24mo
Solved
Clarification on Cluster Health API Functionality
Rajeev sought clarity regarding the cluster health API. Kishore Nallan explained details and advised to check via a TCP port rather than HTTP.
6
17mo
Solved
Converting Single Node to Cluster and Problem-Solving
Albert requested help for enjoying a single node to a cluster, checking health, and handling API keys. Jason clarified API keys, identified and explained the issue of having "no leader", and provided methods to fix it.
13
23mo
Solved