Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Details in Compute Resource Consolidation pattern - Azure Architecture Center | Microsoft Learn

Problem

  • How to consolidate multiple tasks or operations into a single computational unit :

    • Follow the design principle of separation of concerns initially, and divide these operations into separate computational units that are hosted and deployed individually.

    • At the end, reduce cost, increase utilization, imporve communication speed and reduce management.

Solution

  • Grouping tasks based on specific feature (ex. for infrequent, time-insensitive messages sent to a queue, …), ensuring to consolidate multiple tasks or operations into a single computational unit :

    • Azure services provide autoscaling → we can apply during the process of creation (App Servies, VM Scale Sets, …)

...

Compute Resource Consolidation In Practice

Each Azure resource regarding the computational unit, has its own measures. For Azure Function, the computational unit is measured in terms of execution units (Monitoring data reference for Azure Functions | Microsoft Learn).

...

The key metrics for computational units in Azure Functions include:

  1. Execution Time: The amount of time your function runs, measured in milliseconds.

  2. Memory Usage: The amount of memory your function consumes during execution.

  3. Invocations: The number of times your function is triggered.