Content deleted Content added
No edit summary |
|||
Line 41:
==Portability==
Migration from AWS Lambda to other AWS compute services, such as Amazon ECS, presents challenges due to tight integration with AWS Lambda's APIs, often referred to as service lock-in. <ref name=":7" /><ref name=":8" /> Tools like AWS Lambda Web Adapter offer a pathway for [[Software portability|portability]] by enabling developers to build web applications using familiar frameworks under a monolithic Lambda design pattern.<ref name=":7">{{Cite web |title=AWS Lambda Web Adapter |website=[[GitHub]] |url=https://github.com/awslabs/aws-lambda-web-adapter |url-status=live |archive-url=https://web.archive.org/web/20241128211006/https://github.com/awslabs/aws-lambda-web-adapter |archive-date=2024-11-28 |access-date=2024-11-29}}</ref><ref name=":8">{{Cite web |title=The Lambda monolith |url=https://docs.aws.amazon.com/lambda/latest/dg/monolith.html |url-status=live |archive-url=https://web.archive.org/web/20241126020340/https://docs.aws.amazon.com/lambda/latest/dg/monolith.html |archive-date=2024-11-26 |access-date=2024-11-29}}</ref> However, this approach introduces limitations, including coarser-grained alerting and access controls, potential cold start delays with large dependencies, and limited suitability for non-HTTP APIs. <ref name=":6" />
==Tools==
AWS Lambda Powertools is an open-source library developed by AWS that provides utilities for observability, tracing, and logging in AWS Lambda functions.<ref>{{Cite web |date=2020-06-22 |title=Simplifying serverless best practices with Lambda Powertools {{!}} AWS Open Source Blog |url=https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-lambda-powertools/ |access-date=2025-03-22 |website=aws.amazon.com |language=en-US}}</ref> It includes structured logging, metrics, and tracing tools for Python, Java, and TypeScript. As of March 2025, it also includes data masking support for Python. <ref>{{Cite web |title=Homepage - Powertools for AWS Lambda (Python) |url=https://docs.powertools.aws.dev/lambda/python/latest/ |access-date=2025-03-22 |website=docs.powertools.aws.dev}}</ref><ref>{{Cite web |title=Data Masking - Powertools for AWS Lambda (Python) |url=https://docs.powertools.aws.dev/lambda/python/latest/utilities/data_masking/ |access-date=2025-03-22 |website=docs.powertools.aws.dev}}</ref>
== Threading and Scalability in AWS Lambda ==
|