we are trying to enter production, but the incomprehensible behavior of the cloud function is very slowing us down.
Is this happening on Cloud or self hosting?
idunno I am using the cloud
Self hosting, 16 gm ram, 500 ssd
6 cores
Performing a cloud function affects the operation of the entire system.
Well this can happen due to many factors. Just to name a few:
- Your apps traffic
- Your user usage pattern
- Specific function code
- Your runtime may need more resources
I would try to detect the problematic areas, which container is working harder, how is the server performing, are there any 500 errors from Appwrite?
You can also connect something like Sentry to Appwrite to get greater visibility on errors, or inspect your container logs.
If you don't have a specific reason to self host, you can also try Cloud, we can also have better visibility of your issues there.
This may be because of the use of relationship.
500 error
How we can listen to the logs of the rumtime function from the container? It does not show logs on the console.
You're using a bun?
You can do so by checking the docker logs. Each runtime spins a container.
bun and node js
Run
docker compose logs openruntimes-executor
there is no detailed info here.
What's the function code?
And are you triggering it in sync or async?
Bun typescript
I don't quite understand what you mean.
for example my webhook module
What’s the code you’re using to trigger this Function?
webhook methods will call my payment provider
I have 5 modules, each of them performs its own function. But the problem is that the time lapse fails and the weight of the appwrite project freezes.
I don't use the trigger from appwrite console.
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...