DEV Community

Cover image for AWS Polling - What is it and why you should do it
Onesol Technologies
Onesol Technologies

Posted on

1

AWS Polling - What is it and why you should do it

This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer.

Explainer

In AWS Lambda polling, we find the most optimal configuration for your AWS Lambda. These configurations refer to the memory size and its relation to runtime & cost. Plotting memory vs cost on a graph gives us a minimum point, which is the optimal cost.

Example of polling in real life using a memory vs time graph

Additional Context

When I first started using AWS, I'd often end up spending a lot more as compared to what my expectation, but since the projects were small and the small differences in run-time did not affect the business function that much I used to overlook it. It was only when we started the first major project that we learnt about polling in AWS Lambda and it has been a lifesaver. On a recently completed project, we are projected to save about $500 over the lifetime due to polling. These are the small things that we have now learnt to pay more attention to at our Consultancy!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay