This message was deleted.
# community-help
s
This message was deleted.
j
I would recommend creating separate collections for each of users, posts and services and then duplicating any display fields between the documents in each collection
👍🏽 1
t
@Jason Bosco Is there a limit to how many document updates you can batch at a given time?
Also, is there per-client rate limiting in place for the cloud version or do we need to proxy requests and implement our own rate limiting?
j
Is there a limit to how many document updates you can batch at a given time?
Yes, but it depends on the number of CPU cores you have, the size of each document and the total number of documents in the collection. For eg, I’ve been able to update 2.2M documents, with 5-6 fields each, in about 4 minutes on a 4vCPU server
👍🏽 1
re: rate limiting, we have built-in rate limiting in the next version of Typesense (v0.26) need to put together docs for it. But in the meantime, you could put something like Cloudflare in front of each Typesense endpoint for DDOS protection + rate limiting: https://typesense.org/docs/guide/data-access-control.html#ddos-protection
👍🏽 1
t
Awesome thank you!
👍 1