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
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...