Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

218
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda