Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

220
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda