#random

Issues with Slow Queries on Hosted TS

TLDR A reported slow search query results on Hosted TS. Jason asked for the cluster ID and the search query that was taking a long time, adding that the cluster metrics look fine.

Powered by Struct AI

1

Mar 18, 2022 (22 months ago)
A
Photo of md5-98c72c3023867be0346b48ae4cb22001
A
01:12 PM
Is it just me or is there some degradation on Hosted TS?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:14 PM
Every cluster is fully isolated from each other, so any potential issues are isolated to individual clusters.
01:14
Jason
01:14 PM
What issue are you seeing?
A
Photo of md5-98c72c3023867be0346b48ae4cb22001
A
01:15 PM
All search queries locally are taking 1000-2000 ms to return results
01:16
A
01:16 PM
Typesense is showing 3-8m but it is very slow in the interface
01:16
A
01:16 PM
10,000 ms timeout errors
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:16 PM
Could you share your cluster ID?
A
Photo of md5-98c72c3023867be0346b48ae4cb22001
A
01:22 PM
<http://ivtxh84dyluoznpfp-1.a1.typesense.net|ivtxh84dyluoznpfp-1.a1.typesense.net>
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
01:25 PM
Could you also share the search query that's taking a long time to complete?

1

01:26
Jason
01:26 PM
(Copy as curl from the browser network tab would be ideal)
01:34
Jason
01:34 PM
Cluster metrics look fine

Typesense

Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI

Indexed 3015 threads (79% resolved)

Join Our Community

Similar Threads

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.

5

67
11mo

Discussing Typesense Search Request Performance

Al experienced longer-than-reported times for Typesense search requests, sparking a detailed examination of json parsing, response times and data transfer. Jason and Kishore Nallan helped solve the issue.

2

37
33mo

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.

1

30
14mo

Resolving Typesense Cloud Cluster Issue with Cron Job

Issei reported a problem with an unhealthy Typesense Cloud cluster. With the particular help of Jason and Kishore Nallan, they discovered that a problematic cron job was responsible. A solution, using a different endpoint for data export, was agreed on and implemented.

5

65
31mo

Query Suggestions for Search Feature on B2B eCommerce Site

arif needed guidance on implementing query suggestions for a B2B eCommerce website. Jason suggested using Typesense's native search query tracking. After some setup and discussion about delays, it was confirmed the system was working correctly.

14
4mo