Geo Load-Balanced Endpoint Causing Slow Performance
TLDR Edward reported slow responses in their geo load-balanced setup. Kishore Nallan suggested eliminating search_time_ms from the test, which revealed that the issue was not with the LB endpoint. The team will work on improving query latency with facets.
1
Mar 20, 2023 (6 months ago)
Edward
12:16 PM1st screenshot is with the ‘nearest_node’ option and the second is just reverting to using the 3 separate node endpoints. There’s a clear performance difference. I suspect this isn’t correct?
Third screenshot may be related in that sometimes the requests fail but it seems to only fail on the load-balanced endpoint.
Kishore Nallan
12:19 PM1
Edward
12:21 PMKishore Nallan
12:22 PMKishore Nallan
12:23 PMEdward
12:25 PMKishore Nallan
12:26 PMKishore Nallan
12:27 PMEdward
12:28 PMKishore Nallan
12:28 PMsearch_time_ms
value in the responses just to be sure?Kishore Nallan
12:29 PMsearch_time_ms
and actual network latency.Kishore Nallan
12:30 PMsearch_time_ms
and then try running that via both LB and non-LB end-points.Edward
12:31 PMToomas
12:34 PMEdward
12:35 PMKishore Nallan
12:36 PMafkjfkjdskjfsd
that won't exist.Kishore Nallan
12:37 PMEdward
12:40 PMKishore Nallan
12:42 PMEdward
12:44 PMKishore Nallan
12:44 PMEdward
12:45 PMEdward
12:45 PMKishore Nallan
12:46 PMEdward
12:47 PMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
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.
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.
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.
Phrase Search Relevancy and Weights Fix
Jan reported an issue with phrase search relevancy using Typesense Instantsearch Adapter. The problem occurred when searching phrases with double quotes. The team identified the issue to be related to weights and implemented a fix, improving the search results.
Network Errors and Duplicate Requests in Typesense
Ethan and Rushil were experiencing more than 300 network errors and duplicate requests from Typesense. After rigorous troubleshooting, Jason identified the issue as an Instantsearch-induced multiple re-rendering and implemented a fix. Multiple requests reduced, but networking errors persisted, suggested to be due to client-side internet connectivity.