Typesense Instance Issues and Solutions on K8s
TLDR Richard encountered issues with a typesense instance, including lag, unresponsiveness, and shut downs. Jason provided potential causes and solution, including adjusting configuration settings and clearing data directory. This resolved Richard's issues.
1
Oct 18, 2022 (14 months ago)
Richard
11:06 PMIs there a way to clear the log and reset the node?
Jason
11:13 PMJason
11:14 PM--healthy-read-lag
and --healthy-write-lag
https://typesense.org/docs/0.23.1/api/server-configuration.html
Richard
11:14 PMJason
11:14 PMJason
11:15 PMRichard
11:17 PMRichard
11:17 PMJason
11:17 PMRichard
11:19 PMJason
11:19 PMRichard
11:20 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Stability Issues with Self-Hosted Typesense Server on AWS ECS
Ryan reports stability issues with a self-hosted typesense server, whilst Jason suggests various potential factors to consider, including configuration, CPU allocation, modifying the healthcheck, and testing on EC2 instances. However, no definitive solution is reached.
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.
Explanation of Typesense's server parameters `--healthy-read-lag` and `--healthy-write-lag`.
Eric asked about the significance of specific server configuration parameters in Typesense. Jason provided a detailed explanation of how these parameters work during data writes and reads.
Discussion About Typesense Nodes Not Synchronizing Correctly
Erick experienced an issue where documents weren't updated properly in a Typesense instance running on 3 nodes. Upon requesting debug logs and configs, Jason identified that these nodes weren't part of the same cluster. They couldn't resolve the nodes' failure to connect issue and recommended a fresh installation.
Understanding Typesense Throttling Parameters
Nelson queried about Typesense parameters `--healthy-read-lag` and `--healthy-write-lag`. Jason explained that these control widespread write operations and ensure read prioritization. They further elaborated on interpreting logs and network request thresholds.