I've been reading and for my use case, I

I've been reading and for my use case, I'm wondering if I'll need to combine both workers and the cloudflare api: I want each of my users to have their own index but I want the users of my users to be able to query my user's index and it could exceed the cloudflare api limit so I would like the queries/inserting to be done via cloudflare workers, but how can I dynamically pass in the name of the index
3 Replies
yevgen
yevgen4w ago
as long as you batch updates via ndjson files using HTTP APIs should work fine for you (up to 5k records per file). The default limit of 1200 API requests in 5 mins should give you the upper limit of 6 mln vectors. again there is room to increase this limit higher if necessary to 9000
Rezigco
RezigcoOP4w ago
ok thank you and is the insert endpoint explicitly expecting a .ndjson file or could I shape the data in that format and still send it to the endpoint?
yevgen
yevgen4w ago
the latter

Did you find this page helpful?