Please Help Appwriters
My project is in a scenariot where we need to automatically create two functions for each user we have. The purpose of these functions is to provide autonomous services for our users. Let's call the two functions A et B.
The A function can take up to 3 minutes to complete execution. The B function can take up to 1 minute to complete execution.
Both functions are triggered by CRON. For function A, it's every 5 minutes, and for function B, it's every 4 hours.
The problem is that I've noticed that not all the A functions manage to run, or sometimes the only run one after the another, starting with the first ones we've created. Only the very first functions we created manage to run every 5mins. The others have to wait indefinitely.
Assuming we have 1,000 users, it's clear that customers will almost never get their service.
We're plannig to have 600,000 users. That's 600,000 x 2 appwrite functions == 1.200.000 functions that need to execute every 5 mins.
I'd like to know how we can set up parallel execution of the functions.
We are self-hosting and have the ability to grow server specs at will.
Thank a lot
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...