Handling 503 Errors and Reducing Cluster Pressure
TLDR Gustavo faced frequent 503 errors despite having ample memory. Jason suggested handling 503s per Typesense documentation and adjusting settings to reduce unnecessary upserts and cluster pressure.
Jun 14, 2023 (4 months ago)
503 Not Ready or Laggingfor almost all my requests since 2 hours ago. I have almost 2x the memory being used. Isn't that enough?
Here’s how to handle 503s: https://typesense.org/docs/guide/syncing-data-into-typesense.html#handling-http-503s
retry_interval_secondsto as high as say 10 minutes and 5 minutes each
Indexed 2786 threads (79% resolved)
Typesense Import Issue with HTTP Code 503 Error
Tomas faced errors while importing to typesense, including an HTTP code 503. Jason identified the issue as CPU exhaustion and recommended slowing down writes or upgrading to at least 4vCPU.
Inquiry and Troubleshooting of Typesense Cloud
Alex is addressing memory usage, import, and bandwidth issues with Typesense Cloud. Jason helped determine the issues and offered solutions, including in-place upgrades and potential use of Cloudflare for security.
Optimizing Typesense Implementation for Large Collections
Oskar faced performance issues with his document collection in Typesense due to filter additions. Jason suggested trying a newer Typesense build and potentially partitioning the data into country-wise collections. They also discussed reducing network latency with CDN solutions.
Troubleshooting Write Timeouts in Typesense with Large CSVs
Agustin had issues with Typesense getting write timeouts while loading large CSV files. Kishore Nallan suggested chunking data or converting to JSONL before loading. Through troubleshooting, they identified a possible network problem at AWS and found a workaround.
Resolve Connection Error on Records Upsert
Jainil faced consistent connection errors while upserting records. Jason identified an OOM issue, suggesting a capacity upgrade. Auto-scaling was discussed and the upgrade implementation process, which was in progress, was clarified.