Back

Deploying a function takes long on a raspberry pi 4

  • 0
  • Functions
Ipsoka
14 Apr, 2023, 22:55

Deploying the standard python function takes around 40 seconds on my raspberry pi 4 with 8gb ram, 1.8ghz, ARM v8. Is this normal? Does Appwrite need that much power just to deploy a function? For dart functions, its more then 1m30s even

TL;DR
The user is experiencing slow deployment times for functions on a Raspberry Pi 4. They are concerned about the resource usage and want to know if this is normal for Appwrite. It appears that Dart functions take even longer to deploy than Python functions. There is no solution provided in the thread.
Drake
14 Apr, 2023, 23:32

maybe...you can try to run docker stats to try and see what's using what while deploying

Ipsoka
14 Apr, 2023, 23:37

The container that took the most cpu% was a container with a random id, it wasnt any of the appwrite-... containers

Drake
15 Apr, 2023, 00:11

that's probably the runtime container. it's named: <project id>-<deployment id> and the image should match your runtime language and version

Drake
15 Apr, 2023, 00:12

dart definitely takes more resources because it's compiling our code with the rest of the runtime code

Drake
15 Apr, 2023, 00:12

including pulling dependencies

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more