Skip to content
Vivek Maurya edited this page Nov 16, 2022 · 5 revisions

Intorduction

Azure Queue Storage

Azure Queue Storage is a service for storing large numbers of messages. You access messages from anywhere in the world via authenticated calls using HTTP or HTTPS. A queue message can be up to 64 KB in size. A queue may contain millions of messages, up to the total capacity limit of a storage account. Queues are commonly used to create a backlog of work to process asynchronously.

Queue Storage contains the following components:

  • URL format : Queues are addressable using the following URL format:

    https://<storage account>.queue.core.windows.net/<queue>

  • Storage account : All access to Azure Storage is done through a storage account.

  • Queue : A queue contains a set of messages. The queue name must be all lowercase.

  • Message : A message, in any format, of up to 64 KB. Before version 2017-07-29, the maximum time-to-live allowed is seven days. For version 2017-07-29 or later, the maximum time-to-live can be any positive number, or -1 indicating that the message doesn't expire. If this parameter is omitted, the default time-to-live is seven days.

Azure queue storage diagram

azure queue storage (1)

Azure Functions

Azure functions is a serverless concept of cloud native design that allows a piece of code deployed and execute without any need of server infrastructure, web server, or any configurations. Azure functions can be written in multiple languages such as C#, Java, JavaScript, TypeScript, and Python.

Azure functions are scalable. When demand of execution increases, more resources are allocated automatically to the service and when requests fall, all extra resources and application instances drop off automatically.

Why we need azure functions?

  • Azure functions are lightweight and serverless.
  • Azure functions are easier to write and deploy.
  • Azure functions are fast to execute because there is no large application, startup time, initialization, and other events fired before the code is executed.
  • Azure functions’ execution is triggered when an event is fired.
  • Azure functions support multiple programming languages including C#, F#, Java, JavaScript, TypeScript, and Python. You choose your choice of language.
  • Azure functions do not need any infrastructure and have 0 maintenance.
  • Azure functions are easy to upgrade and doesn’t affect other parts of the website.