Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
Update Azure Function Node.js Version, avoid downtime and lost messages

I have an Azure Function App hosted on an Elastic Premium service plan. It triggers from coming Service Bus messages.

I need to upgrade the Node.js version from 12 to 14 (configured in General settings) via Terraform. However, I am afraid of generating downtime and losing messages if the upgrade happens while messages are being processed.

For new messages, it should be fine as they won't be consumed and be read later on. But what if instances are busy running? Does Azure wait for them to complete before performing the upgrade (not creating new ones), or does it kill them even though they are not finished?

Can you please reassure me or guide me through this process. I am also looking for documentation that specifies the behavior in such scenario.

Thank you very much

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Any update to the application setting which is node js version in this case will prompt a function restart.

While in case of ongoing execution of the messages unless the execution is completely completed the function will not remove the messages and they will still be in the service bus, and they will only be removed once execution function is done.

This is a peeklock behavior of the service bus where in event of the failure the message is not deleted also it is also a default behavior.

refer the following documentation for further explanation on the peeklock behavior

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!