I've just noticed recently, that Azure functions acquired a 5 min timeout on the dynamic pricing tier somewhere along the timeline. As I've been busy doing other things, this flew under my radar, until I noticed some long running functions not completing.
So I went digging, and found out that there are two pricing tiers - the dynamic and the app service based. The site is a bit vague on the whole concept, but as I understand it, this is how it stands:
Dynamic: Charged per usage time and memory allocation by the user. 5 minute timeout (so useless for one time long running operations now).
App service: Either a basic or standard tier VM, running full time, waiting for triggers. No timeout to speak of.
Now the first disappoints me, as I saw functions as a solution for my jobs that need to be fired once or twice per year, but then take a day or two to complete (comprehensive backup and data packaging for export).
The second confuses me - does this mean, that the stateless function now runs as a web app and I am to be charged for it as such? If this is the case, the whole concept of functions is now useless for my purposes, unless I implement a Cell processor, firing 80000 function instances upon a trigger to get the work done on time. If that's even possible.
Could someone please explain the model behind Functions pricing and what the best solution for my problem would be?
Thank you.