Concerns about Custom id Prefix Impact on Speed
TLDR Morgan questions whether using a custom id starting with a p
will affect speed. Kishore Nallan confirms it will not be an issue.
2
Oct 27, 2021 (27 months ago)
Morgan
07:03 PMid
in a collection
It will be something look like this: pID:3f713ab6-a0b9-4e8e-9089-184c53d4c298 tID: 1 id: 1
so it will be very readable to our developers. And in our application, we will use that id
to find the document and to upsert
. My question is if we use that kind of id with leading letter always starts with p
, will that affect the speed? Or do you recommend an id
that starts with random character? Thank you!Oct 28, 2021 (27 months ago)
Kishore Nallan
01:44 AM2
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Slow Document Deletion in Typesense Database
Robert inquired about speeding up deletes in Typesense. Robert agreed to file a detailed bug report following the discussion with Kishore Nallan who is investigating a possible bug causing the delay in document deletion.
Performance Characteristics of Filtering Search Results
Oskar queries the performance difference in filtering search results. Jason clarifies how filters work and provides performance improvement suggestions like increasing vCPUs and sharding the collection. Kishore Nallan explains filter IDs and document ID matching. The thread concludes with discussions on performance tradeoffs in filter implementation.
Improving Typesense Query Performance
Jonathan queried about slower than expected typesense query performance. Jason and Kishore Nallan offered solutions and explanations. After a series of tests, Jonathan found other queries returned results quickly, indicating the issue was specific to the original query.