Starting Cluster with Just Two Servers
TLDR 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.

Nov 08, 2021 (22 months ago)
JinW
03:54 AMKishore Nallan
03:55 AMKishore Nallan
03:56 AM
JinW
03:57 AM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Handling Server Failures in Cluster with Load Balancer
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.
Node Requirements for Typesense Self-Hosted HA Cluster
Roy asked if a typesense self-hosted HA cluster can run on 2 nodes. Kishore Nallan explained a minimum of 3 nodes are required for the RAFT clustering protocol.
Configuring and Operating Multiple Nodes in Typesense
Ricardo inquired about adding multiple nodes in Typesense. Kishore Nallan explained how the JS client supports a nearest node configuration, and also clarified networking requirements and raft communication. Ricardo and Jason further discussed the risks of two independent nodes operations.