Cloud Function for all Use-Cases or Serperate for Client App
- 0
- Flutter
- Tools
- Databases
- General
- Self Hosted

Since I will have the client app of Flutter for data-input and NextJS for dashboard and reporting - starting from Flutter first. So I want to have one api routes for both of them to connect to appwrite.
After some communication, I can create cloud function to handle the api routes, plus hono to create one deployment for all use cases ( similer to api projects). so my question is, having multiple uses case in one deployment, will the cloud function be slow and any issue with that. The other option is to create the function for Flutter and also NextJS later.
Please give me some suggestions or ideas to effectively use. Thanks

Didn't you have another thread on the same topic? 🧐

to make it more specific topic 🤣

One function is fine. Just make sure each execution finishes as fast as possibly

which means if the function is requiring some time to finish. and there are many requests. it will have issue. correct me if I am wrong

Possibly. That depends on the language/runtime.
It's more so the longer an execution runs, the more likely it will be timed out or killed

thanks. whata would be ideal language/runtime for this case as suggested by you.
Recommended threads
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Does appwrite have any alternative solut...
Hi Everyone, ... I am looking for a solution for AWS ECS Fargate in appwrite. Can anyone let me know if this is possible?
