Function App Performance

Guidance on Function App Performance Performance settings and considerations.

Function App Performance

Overview

Azure Function apps offer different hosting plans that directly impact the performance, scalability, and cost of Cloud Protect deployments. Understanding these plans and their characteristics is essential for optimizing your data protection operations.

Azure Function App Service Plans

Azure Functions provides several hosting options, each with different characteristics:

Consumption Plan

The Consumption plan provides automatic scaling and charges only for compute resources used during function execution. While cost-effective for sporadic workloads, this plan has limitations:

  • Cold start latency: Functions may experience delays when starting after periods of inactivity
  • Limited execution time: Maximum execution duration of 10 minutes per function invocation
  • Shared infrastructure: Resources are shared across tenants, which can lead to variable performance
  • Memory constraints: Limited to 1.5 GB of memory per instance

The Premium plan is the recommended option for Cloud Protect on Azure. It provides enhanced performance and enterprise-grade features:

  • Pre-warmed instances: Always-ready instances eliminate cold start delays, ensuring consistent performance
  • Enhanced compute resources: Flexible compute sizing, see App Service Premium version 3 plan
  • VNET integration: Secure connectivity to on-premises resources and Azure private networks
  • Unlimited execution duration: No time limits for long-running protection operations
  • Predictable performance: Dedicated infrastructure ensures consistent throughput
  • Better scaling control: Minimum and maximum instance count configuration

The Elastic Premium plan extends the Premium plan with additional elasticity and performance optimization:

  • Rapid scale-out: Faster scaling response to demand spikes
  • Greater instance limits: Support for larger-scale deployments
  • Optimized cold start: Even faster initialization compared to standard Premium
  • Event-driven scaling: More granular scaling based on event sources
  • All Premium features: Includes VNET integration, pre-warmed instances, and unlimited execution time

Cloud Protect Recommendations

Cloud Protect on Azure recommends using either Premium or Elastic Premium plans for production deployments. These plans provide:

  1. Consistent Performance: Pre-warmed instances ensure data protection operations execute immediately without cold start delays
  2. Sufficient Resources: Memory and CPU resources adequate for cryptographic operations and high-volume data processing
  3. Reliability: Dedicated infrastructure for predictable performance and SLA compliance
  4. Security: VNET integration enables secure communication with ESA (Enterprise Security Administrator) and other protected resources
  5. Scalability: Automatic scaling handles variable workloads while maintaining performance standards

Performance Considerations

When deploying Cloud Protect on Azure Functions, consider the following factors:

Instance Sizing

Select appropriate instance sizes based on your workload:

  • EP1 (Elastic Premium 1): 1 vCPU, 3.5 GB RAM - suitable for moderate workloads
  • EP2 (Elastic Premium 2): 2 vCPU, 7 GB RAM - recommended for standard production deployments
  • EP3 (Elastic Premium 3): 4 vCPU, 14 GB RAM - for high-volume or resource-intensive operations

Scaling Configuration

Configure scaling parameters to match your protection requirements:

  • Minimum instances: Set to at least 1-2 pre-warmed instances to eliminate cold starts
  • Maximum instances: Configure based on peak load expectations and budget constraints
  • Scale-out rules: Define appropriate triggers based on CPU, memory, or queue depth metrics

Network Considerations

  • Use VNET integration to reduce latency when communicating with ESA servers
  • Enable private endpoints for secure, high-performance connectivity to Azure services (Storage, Key Vault)
  • Consider proximity placement to co-locate Function apps with dependent resources

Monitoring and Optimization

  • Monitor execution duration metrics to identify bottlenecks
  • Track instance count and scaling patterns to optimize configuration
  • Review memory and CPU utilization to right-size your plan
  • Set up Application Insights for detailed performance telemetry and diagnostics

Cost vs. Performance Trade-offs

While Premium and Elastic Premium plans have higher baseline costs compared to Consumption, they provide:

  • Predictable performance and cost structure
  • Reduced total cost for steady-state workloads (no per-execution charges)
  • Better resource utilization through persistent instances
  • Lower operational overhead from consistent behavior

For Cloud Protect deployments handling sensitive data with compliance requirements, the Premium/Elastic Premium investment ensures reliable, performant data protection operations.


Last modified : February 12, 2026