{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/5"}],"enrichment":{"capability":"A decorator that minimizes AWS Lambda cold starts by keeping functions warm through periodic invocations and optionally tracking cold/warm start metrics to CloudWatch.","skillfed_tags":["aws-lambda","cold-start-optimization","serverless"],"use_cases":["Reduce latency for user-facing Lambda APIs by keeping functions warm during off-peak hours or between infrequent requests.","Monitor cold start frequency across your Lambda fleet by sending metrics to CloudWatch for alerting and optimization.","Maintain multiple concurrent warm Lambda containers to handle sudden traffic spikes without cold start penalties.","Optimize serverless applications where predictable response time is critical, such as real-time data processing or webhook handlers."],"what_it_does":"lambda-warmer-py is a Python decorator that addresses AWS Lambda cold starts\u2014the latency spike when a function is invoked after being idle. You wrap your Lambda handler with the decorator, then set up a CloudWatch rule to ping the function every 5 minutes with a special warming event. The decorator detects these warming invocations, executes them quickly without running your actual business logic, and keeps the Lambda container alive and ready.\n\nThe package supports concurrent warming (invoking multiple copies of your Lambda to keep several containers warm simultaneously) and optional CloudWatch metrics that track cold versus warm starts by function name. Configuration is minimal\u2014you can customize the event field names, concurrency delay, and whether to send metrics\u2014but the core behavior requires only the decorator and a scheduled ping.","worth_installing":"No. The package is abandoned (last commit 2022-01-05, no releases since 2019-11-23) and offers no maintenance or support. While the core logic may still function, AWS Lambda and best practices have evolved significantly. Consider using modern alternatives or native AWS solutions that are actively maintained and better integrated with current Lambda capabilities."},"id":"lambda-warmer-py","links":{"html":"https://skillfed.io/packages/lambda-warmer-py","md":"https://skillfed.io/packages/lambda-warmer-py.md","pypi":"https://pypi.org/project/lambda-warmer-py/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-11-23","license_spdx":null,"license_treatment":"permissive","name":"lambda-warmer-py","python_support":"unspecified","summary":"keep lambdas warm and monitor cold starts with a simple decorator"},"popularity":{"monthly_downloads":111909,"position":12390,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
