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
- Connectivity issue after upgrade to 1.9....
When running this command :- docker compose exec appwrite doctor I am getting the following error:- š“ Console.DB.(console)...........................disconnect...
- Transaction feature is not working somet...
I am getting the below error sometimes and sometimes it is working perfectly fine. Transaction failed: AppwriteException: transaction_not_found, Transaction wi...
- Updating to 1.9.0
Docs are lacking, I've already run in to some issues: - Firstly the web UI port doesn't work... had to add ```--http-port=9999``` in to the docker run command t...