#community-help

Data Propagation Time from Firestore to Typespace

TLDR Bryan questioned about data propagation time from Firestore to Typespace. Jason clarified that it typically takes less than 10 seconds, and indexing takes less than a second.

Powered by Struct AI
5
26mo
Solved
Join the chat
Nov 17, 2021 (26 months ago)
Bryan
Photo of md5-80f38442a17b678831f4735a7f38a93a
Bryan
04:16 PM
Hi everyone. How long will propogation take from firestore to typespace using the extension? If I add a document in firestore, how long until a typespace search will return that document? (assuming using typespace cloud in the same region)
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:06 PM
There’s an element of latency involved in how quickly Firestore triggers change notifications… I’m mot sure how variable this is. But typically the overall latency should be less than say 10s for data to show up in Typesense.

From Typesesne’s perspective, as soon as data is indexed and the API call returns, it should available to search.
Bryan
Photo of md5-80f38442a17b678831f4735a7f38a93a
Bryan
07:07 PM
how long for indexing to complete usually?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:08 PM
A single record will complete in less than a second.

For batches of records, it completely depends on the size of your dataset. For eg: I've indexed 2.2M records (recipes demo you see on the home page) in about 3-4 minutes by importing all records in a single batch import API call
Bryan
Photo of md5-80f38442a17b678831f4735a7f38a93a
Bryan
08:06 PM
thx!