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)
• 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 Nallan11:59 AM
2. Typesense uses raft which needs three instances for quorum.
Kishore Nallan12:40 PM
Kishore Nallan01:04 PM
Indexed 3015 threads (79% resolved)
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.