lambda-warmer-py

keep lambdas warm and monitor cold starts with a simple decorator (by robhowley)

Lambda-warmer-py Alternatives

Similar projects and alternatives to lambda-warmer-py based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lambda-warmer-py alternative or higher similarity.

lambda-warmer-py reviews and mentions

Posts with mentions or reviews of lambda-warmer-py. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-05.
  • FastAPI + AWS lambda cold starts?
    1 project | /r/FastAPI | 5 Mar 2023
    I've been using FastAPI in Lambda, and it's working great, but I remember having struggled with low-performing responses, and the key was to turn off the Mangum lifespan (Mangum(app, lifespan="off")). Also, instead of using provisioned concurrency, we ended up using the old-school warming method with something like this
  • Anti-Patterns to Avoid in Lambda Based Apps
    3 projects | news.ycombinator.com | 5 Nov 2021
    Provisioned concurrency isn't worth it in my experience. You can just use, say, a CloudWatch rule to ping your desired number of instances every 5-odd minutes and keep them warm. 288 pings per day for 100 instances at 100ms per instance/ping is 2,880 seconds of execution time, or 5,760 GB-seconds at 2GB RAM (1 full vCPU and a bit). At $0.0000166667 per GB-second, that's $35 a year. You could cut that in half with smarter pings than e.g. [1], but it's not worth the engineering cycles at this price.

    1. Python version: https://github.com/robhowley/lambda-warmer-py

Stats

Basic lambda-warmer-py repo stats
2
44
1.8
over 2 years ago

robhowley/lambda-warmer-py is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of lambda-warmer-py is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com