Back

Functions taking really long

  • 0
  • Functions
  • Cloud
faye
25 Sep, 2024, 00:49

Hey,

As discussed in the cloud channel, the function execution times are really fast, going from 50-250ms most of the time. However it seems that there is a 1:4 chance (estimate) that the function will go in a sort of.. "processing mode"? The time till response will instead of being.. 1 second, it's about 10+ seconds, destroying our UI and giving errors/annoying users because it takes so long to get a response back..

TL;DR
Developers experiencing functions with fast execution times but occasionally getting stuck in a "processing mode" for longer periods, causing UI issues and frustrating users. This seems to happen 1:4 times. Possible Solutions: 1. Check for bottlenecks or heavy processing tasks within the function code. 2. Optimize function code and consider implementing asynchronous processing or parallelism if applicable.
faye
25 Sep, 2024, 00:51

Please watch the video I posted there. It shows exactly what I mean.

faye
25 Sep, 2024, 00:52

@zlmr Since you have the same issue, gonna add you here for updates!

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