Typesense Pagination and Caching Concerns
TLDR Michal expressed concerns about Typesense costs and pagination for an infinite scroll app. Kishore Nallan suggested fetching 250 results upfront and mentioned Typesense doesn't cache per page result sets.
Feb 05, 2023 (8 months ago)
Michal
12:50 PMKishore Nallan
12:56 PMCan you elaborate?
Kishore Nallan
12:57 PMMichal
01:04 PMKishore Nallan
01:05 PMFor now, you can fetch 250 results upfront and then do in-app pagination.
Kishore Nallan
01:06 PMMichal
01:17 PMKishore Nallan
01:25 PMMichal
01:31 PMKishore Nallan
01:34 PMMichal
01:39 PMTypesense
Indexed 2786 threads (79% resolved)
Similar Threads
Debugging High CPU Usage in Typesense Server
Zsolti was facing high CPU usage in Typesense server in PHP. Mihai suggested using CloudFlare, while Harrison recommended a database for fetching all documents. Kishore Nallan provided information about cache limits and potential improvements.
Fetching All Docs from a Collection in Typesense
Julian asked if all docs could be fetched from a Typesense collection, and Kishore Nallan explained there's a 250 result limit due to performance considerations. Andrew suggested using the export function, explaining their operations and performance.
Typesense Pagination and Expensive Querying Concerns
Michal inquired about cursor pagination and caching in Typesense. Kishore Nallan provided reasons for their absence and discussed improvements for range filter performance in the next release.
Issues and Improvements in Typesense with 14 Million Records
Miguel experienced performance issues when using Typesense for large datasets. Jason suggested performance improvements made to Typesense since then and directed them to specific server-side parameters for better handling. Miguel agreed to try again.
Typesense Performance with Large Datasets & Custom Sort
krok inquires about Typesense's performance on large datasets and custom sorting. Kishore Nallan explains that Typesense is optimized for this scenario using pagination and text relevance.