Amazon Web Services introduced Lambda to handle a variety of external events and anonymous functions without having...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
to package every line of code within the same application.
In traditional software development, every input handler, error handling routine or other feature is coded into the application. By moving some features out of the main application and into functions, the actual application is often smaller and less expensive to run -- and can even run in a smaller instance. When that entire app is mounted on a VM instance, it requires more memory and processing resources. It also might require a larger VM instance, which can quickly translate into higher operational expenses. Worse still, some of that program's functions may be used only rarely or never at all.
AWS Lambda allows developers to code and run various functions in response to specific events on an as-needed basis. For example, Lambda lets you build a function that can respond to customer requests, file transfers, Web clicks, database updates, storage changes, messaging streams, API call logs and so on. The function starts up, runs and then stops, using only the compute resources needed for that particular event. This means the application core is smaller, more efficient and less costly to operate.
Running cloud workloads on-demand is an easy way to mitigate costs. Lambda drills down further by enabling workload functions to be broken up so companies pay only for each function as it runs. AWS Lambda runs the function within a few milliseconds of the event, allocates the computing resource and bills in increments of 100 milliseconds. This makes the Lambda approach extremely scalable because the function can run tens of millions of times per month.
Deciding if AWS Lambda is a good option for your enterprise depends on your application development and cloud service needs. Services like AWS Elastic Compute Cloud (EC2) are designed for traditional cloud application instances -- where users have full control over the instance and its environment. EC2 obligates users to provision, monitor and manage each instance themselves. AWS Lambda runs code in response to specific events, which can be triggered from within the AWS environment or from individual applications. When an event occurs, Lambda automatically provisions, executes, monitors and logs associated code.
AWS Lambda aims to shear time off cloud development
Tips on leveraging Lambda expressions
AWS Lambda helps IT pros avoid management overhead
Related Q&A from Stephen J. Bigelow
VMware AppDefense integrates with a variety of tools and products. These partnerships reveal insight into application behavior, including automated ...continue reading
VMware AppDefense secures an application by monitoring deviations from its normal behavior. Its core functions establish a baseline, measure behavior...continue reading
Whether it's C, Java or Adobe, it's important to understand the differences among runtime environments. Expert Stephen J. Bigelow outlines the ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.