DEV Community

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

Posted on

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!

Top comments (0)