Skip to main content
QUICK REVIEW

[Paper Review] Comprehensive Review of Performance Optimization Strategies for Serverless Applications on AWS Lambda

Mohamed Lemine El Bechir, Cheikh Sad Bouh|arXiv (Cornell University)|Jul 15, 2024
Smart Grid Security and ResilienceEngineering5 citations
TL;DR

A synthesis of recent research on performance optimization for AWS Lambda serverless apps, covering execution challenges, predictive models, workload-aware strategies, resource variability, runtimes, architecture, and observability to improve performance, cost-efficiency, and scalability.

ABSTRACT

This review paper synthesizes the latest research on performance optimization strategies for serverless applications deployed on AWS Lambda. By examining recent studies, we highlight the challenges, solutions, and best practices for enhancing the performance, cost efficiency, and scalability of serverless applications. The review covers a range of optimization techniques including resource management, runtime selection, observability improvements, and workload aware operations.

Motivation & Objective

  • Understand the key performance challenges in AWS Lambda serverless deployments.
  • Survey optimization approaches across resource management, runtimes, observability, and workload-aware techniques.
  • Highlight practical strategies and their implications for performance and cost efficiency.
  • Identify gaps and future research directions in serverless performance optimization.

Proposed method

  • Synthesize and categorize recent studies on AWS Lambda performance optimization.
  • Summarize execution challenges and practical solutions (e.g., asynchronous processing, Step Functions).
  • Aggregate predictive modeling approaches for performance and cost (workflow-aware models).
  • Discuss workload-aware optimization, resource variability exploitation, and runtime impacts.
  • Review architectural optimization using AWS SAM and ALB, and observability enhancements.
  • Highlight dynamic resource configuration and cold-start mitigation techniques.

Experimental results

Research questions

  • RQ1What execution challenges limit AWS Lambda performance and how can they be mitigated?
  • RQ2How can predictive models forecast performance and cost to aid resource planning?
  • RQ3What workload-aware and resource-variability strategies best improve serverless performance and cost-efficiency?
  • RQ4What architectural and observability practices most effectively optimize Lambda-based applications?
  • RQ5What are practical recommendations and limitations for practitioners implementing these strategies?

Key findings

  • Asynchronous processing and workflow management can mitigate Lambda execution constraints and improve responsiveness.
  • Workflow-aware analytical models can predict performance and cost with high accuracy to aid planning.
  • Workload-aware optimization and dynamic resource configuration can reduce costs while maintaining targets (e.g., up to 40.9% cost savings reported for StepConf).
  • Exploiting resource variability by selecting better-performing servers can yield notable cost savings (up to 13%).
  • Choice of language runtime influences performance and cost, with Python often offering advantages in many scenarios.
  • Architectural optimizations using AWS SAM and ALB, along with enhanced observability, improve request handling and operational insights.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.