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
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...