简体   繁体   English

Azure python 中长时间运行进程的资源

[英]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.我正在尝试找出运行 python 进程的最佳方法,该进程通常在我的本地计算机上花费 10-30(最多一个小时)分钟。 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.我有点困惑,因为我阅读了官方 ms-docs,指出应该避免在 function 应用程序中长时间运行进程( https://learn.microsoft.com/en-us/azure/azure-functions/performance-reliability#avoid -long-running-functions ) 但与此同时,Premium 和 Dedicated 计划的 functionTimeout 可以是无限的。

I am hesitant to use a standard web app with an API since it seems overkill to have it running 24/7.我犹豫是否要将标准 web 应用程序与 API 一起使用,因为让它 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.您可以使用基于消耗的Azure 持久函数,它们可以运行数小时甚至数天。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 Azure 数据工厂执行长时间运行的持久 Azure 函数? - How to execute long running durable Azure Functions with Azure Data Factory? Azure Stream 分析处理事件的时间太长 - Azure Stream Analytics takes too long to process the events 哪种 GCP 解决方案应该用于无限寿命/长时间运行的流程? - Which GCP solution should be used for an infinite-lifespan/long-running process? 使用 Azure 服务自动运行 Python 代码 - Automating running Python code using Azure services 安排 Google Batch 作业在 GCP 上触发(长时间运行 Python 脚本) - Scheduling a Google Batch job to trigger on GCP (long running Python script) azure-devops python 运行“create_work_item”时出错 - azure-devops python error running 'create_work_item' 从 Azure Function App 监控长时间运行的 Power Automate Cloud Flow - Monitoring long running Power Automate Cloud Flow from Azure Function App Azure 资源和资源组的工作簿参数 - Azure Workbook parameter for resource and resource group 什么是 MultiRolePool Azure 资源 - What is a MultiRolePool Azure Resource Python Azure Function 导入类/模块时运行不正确 - Python Azure Function not correctly running when importing a class/module
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM