Maintenance and Servers Discussion for Typesense
TLDR Carlo asked about maintenance and primary node assignment in Typesense. Kishore Nallan explained that Typesense requires no maintenance and operates on either 1 or 3+ servers. No override available in their clustering framework.
Aug 24, 2023 (3 months ago)
Carlo
07:08 AM• Does typesense require any maintenance (think db optimizations)
• Is there a way to make it work in a mode where it always accepts a given node as the primary node? (Planning on running in k8s with 2 nodes I want to avoid getting in the situation where I Get stuck because it cannot pick the right primary node)
Kishore Nallan
11:59 AM2. Typesense uses raft which needs three instances for quorum.
Carlo
12:39 PMKishore Nallan
12:40 PMCarlo
12:44 PMKishore Nallan
01:04 PMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.
Implementing Self-Hosted Typesense in Production
Jainal enquired about implementing Typesense in production with specific questions about open-source disclosure and memory capacity. Jason clarified GPL-3's source code disclosure and explained risks of running out of RAM. Kishore Nallan provided strategies for data durability and clustering.
Addressing Typesense Server Issues and Optimization Needs
Robert had an issue with a 'stuck' typesense server. Jason and Kishore Nallan gave advice on handling writes, configuration for high search volumes, and running multiple typesense instances. They also recommended monitoring CPU usage and updating the server version for bug fixes.