Hi, Im trying to figure out if I can do something with functions on appwrite, I have to download 1 list of events from an API, then do 3 calls for each event to save that information on the database, the list of events can vary from 0 to 1000, I want to write a function so they check the first point every day and updates the event list accordingly, Do you guys think it will be able to handle this ?
Yes, however, Appwrite functions should run quickly. The longer it runs, the more chance it will be killed.
One way to break down your import is to maybe instead of running once per day, to run multiple times per day and process part of the whole list each time
So. Maybe have a function that splits into 100's and send that to other functions?
That could work, yes
Functions are can't be concurrent, I mean calling the same function will make a queue right?
for now, for self hosted, out of the box, yes. you'd have to scale out horizontally to be able to execute concurrently
Got it
[SOLVED] Functions limits questions
Recommended threads
- Function for long running task (other 60...
My function need long running other 60 seconds. But async mode return empty body. How to deal with that please ?
- OAuth2 Provider is disabled automaticall...
Hi everyone, I'm using self-host Appwrite 1.7.4. I can setup OAuth2 with Google successfully, however the provider is disabled automatically after one day witho...
- total parameter not working correctly in...
Hello Appwrite team, I'm experiencing issues with the total parameter in the listRows() method (TablesDB) across multiple SDKs. **Issue 1**: Node.js SDK (node...