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 Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free β†’

πŸ‘‹ Kindness is contagious

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

Okay