简体   繁体   中英

Azure resource for long running process in python

I am trying to figure out the best way to run a python process typically taking 10-30 (max an hour ish) minutes on my local machine. The process will be manually triggered, and may not be triggered for ours or days.

I am a bit confused, because I read official ms-docs stating that one should avoid long running processes in function apps ( https://learn.microsoft.com/en-us/azure/azure-functions/performance-reliability#avoid-long-running-functions ) but at the same time, the functionTimeout for the Premium and Dedicated plans can be unlimited.

I am hesitant to use a standard web app with an API since it seems overkill to have it running 24/7.

Are there any ideal resources for this?

you can use consumption based Azure durable functions , they can run for hours or even days.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM