Understanding Typesense Throttling Parameters
TLDR 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.
Oct 13, 2021 (25 months ago)
Nelson
12:31 AM--healthy-read-lag
and --healthy-write-lag
Jason
12:33 AMJason
12:33 AMJason
12:34 AMNelson
12:34 AMJason
12:35 AMNelson
12:35 AMJason
12:37 AMNelson
12:37 AMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
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.
Troubleshooting Typesense Document Import Error
Christopher had trouble importing 2.1M documents into Typesense due to memory errors. Jason clarified the system requirements, explaining the correlation between RAM and dataset size, and ways to tackle the issue. They both also discussed database-like query options.
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.
Using Typesense in Docker Container – Importing JSONL File
Hakim faced 'Empty reply from server' error when importing a JSONL file into a Typesense-Docker container. Kishore Nallan and Jason suggested checking the docker logs and increasing default RAM and CPU allocation. Finally, Hakim successfully indexed the documents using a PHP script.
Typesense Instance Issues and Solutions on K8s
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.