What are you trying to do?
Basically deleting an array of documents
or creating an array of documents
End users will be doing this (this is a normal function of your app)?
Yes
For now, maybe a delay between each
Long term...couldn't users easily hit the rate limits due to this?
Their use case will work with 120/min
They will max delete 10-20 at a time and same for creating as well
I will try with a delay
FYI, once cloud is upgraded, this problem should go away
Okay, thank you. Fixed now
How'd you add the delay?
Didn't add a "delay" but basically I am making all the calls one by one
Hey, will I be rate-limited if I make around 300 calls from the server at once?
From the server? With an API key?
Yes
Those aren't rate limited
Okay awesome!
Would it be better to create a Appwrite Function for this or a normal NextJS Serverless Function
Appwrite Function. That's what they were created for
Okay, great! Wanted to try it as well
Make sure to follow the docs: https://appwrite.io/docs/functions
Was able to do it successfully. But ran into another problem π¦
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...