#community-help

Handling High Volume Document Updates with Typesense

TLDR Stefan asked about Typesense's ability to handle regular document updates. Jason suggested using Typesense's bulk update feature. They also discussed Algolia's restriction on high volume requests.

Powered by Struct AI
5
31mo
Solved
Join the chat
Apr 27, 2021 (31 months ago)
Stefan
Photo of md5-d6c265b4792dbf0a1d6ae378f39d8736
Stefan
02:36 PM
What are you experiences with updating documents? I'd probably have to update 2/3 documents per second. Would typesense be able to handle that? Using algolia I had to go for batching otherwise it would drop my indexing ops
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
08:23 PM
If you have a large volume of updates, using the documents/import endpoint with action=update and bulk updating would be the most performant way.
Apr 28, 2021 (31 months ago)
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:45 AM
> Using algolia I had to go for batching otherwise it would drop my indexing ops
Out of curiosity, could you expand on this? Algolia drops updates if you send too many?
Stefan
Photo of md5-d6c265b4792dbf0a1d6ae378f39d8736
Stefan
06:16 AM
Yes if you send too many "costly" requests they start returning 429 errors: https://www.algolia.com/doc/faq/indexing/is-there-a-rate-limit/
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:52 PM
Interesting! Good to know.