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
- Server error 500 in appwrite 1.8.0
jwt = users.create_jwt(res["userId"])["jwt"] I got this error 500 after changing environment variables and restarting containers export _APP_DOMAIN=server1.ava...
- Email templates partially broken in non-...
Good afternoon! Non-english locales are missing some variables introduced in recent releases. That makes the sent emails look bad. The issue has been raised a...
- AI feature by functions?
I'm creating a website where, in short, users can index certain genealogical content. In connection with the development of AI, I was thinking about introducing...