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
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...