Plugins Slowing Down Backend Workflows

Hi :wave:! I have a few backend workflows that use plugins (base64 & slugify) where time is of the essence. I notice that when the workflow first runs after ~10 minutes of being dormant, the plugin actions take >6 seconds. Non-plugin actions in the workflow, take milliseconds.

If I test again immediately after, the plugins run much faster. But when I test again after a >10 minute break, the plugins run slow again on the first run.

I tried creating custom server scripts to replace these plugins, but now its even slower.

Does anyone know how I can speed plugins up for this scenario?

Thanks :slight_smile:

Server-side actions have a warmup time. When started cold, yes, it takes a while.

You can resolve this by regularly running the SSA to keep the function awake (not recommended as WU intensive).

The best way is to host the code in your own AWS Lambda/Google Cloud Function which have short warmup times. It’s infinitely cheaper too. I appreciate this isn’t non-technical by any means but it is the best way around it rather than using Bubble SSAs.

1 Like

Thanks @georgecollier ! Really appreciate the response. I might have enough WU budget to run the workflow regularly. I will also look into hosting on AWS as well!