Back

Can I create a function that runs a very long time (~12hours)?

  • 0
  • Self Hosted
  • Functions
  • Databases
Tobi696
19 Aug, 2024, 13:41

I have a function which imports a huge data dump into my database. I am using self-hosted appwrite, so it is easily possible for me to do it without creating an appwrite function (just running it as task on my server). If it's possible, I'd still like to run it as function because of the UI triggering convience. Is it recommendable to do such a long task as function or will it always get terminated?

TL;DR
Developers are questioning if it's feasible to run a function that takes approximately 12 hours to complete. The function involves downloading a 20GB file and utilizing about 100MB of RAM. They are using a self-hosted appwrite for this task and are unsure if running it as a function is reliable or if it will be terminated prematurely.
Tobi696
19 Aug, 2024, 13:44

Other factors that could be limiting:

  • The function would download a file of 20GB
  • will take about 100MB RAM
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