concept Lambda in category aws

This is an excerpt from Manning's book Serverless Architectures on AWS, Second Edition.
AWS’s FaaS offering is called AWS Lambda, and is one of the first from the major cloud providers. Chapter 6 covers Lambda in more detail, including its methods of invocation, configuration, and best practice with regard to design. Note that Lambda isn’t the only game in town. Microsoft Azure Functions (http://bit.ly/2DWx5Gn), IBM Cloud Functions (http://bit.ly/2l1PWbd), and Google Cloud Functions (http://bit.ly/2CbzOem) are other FaaS services you might want to look at.
Figure 2.1 This back end is built with S3, MediaConvert, and Lambda. This pipeline may seem to have a lot of steps initially, but we’ll break it down, and you’ll build a scalable serverless system in no time at all.
![]()
There’s a secret about AWS Lambda that I like to tell people: It’s a supercomputer that can perform faster than the largest EC2 instance. The trick is to think about Lambda in terms of parallel computation. If you can divide your problem into hundreds or thousands of smaller problems, and solve them in parallel, you will get to a result faster than if you try to solve the same problem by moving through it sequentially. Parallel computing is an important topic in computer science and is often talked about in the undergraduate computer science curriculum. Interestingly, Lambda, by its very nature, predisposes us to think and apply concepts from parallel computing. Services like Step Functions and DynamoDB make it easier to build parallel applications. In this chapter we’ll illustrate how to build a Serverless video transcoder in Lambda that will outperform bigger and more-expensive EC2 servers. We’ll look at the implementation, cost, performance, and discuss the pros and cons of the approach for decomposing and solving large problems using Lambda.

This is an excerpt from Manning's book Amazon Web Services in Action, Second Edition.
Lambda—Executing functions
Looking for limitations and pitfalls of AWS Lambda? Stay tuned: you will find a discussion of Lambda’s limitations at the end of the chapter.

This is an excerpt from Manning's book Learn Amazon Web Services in a Month of Lunches.
Just about everything you’ve done in this book (up until this chapter, at least) has focused on migrating or building traditional server-based infrastructure on AWS. So, some important process-oriented tools like OpsWorks, CloudFormation, and Simple Queue Service—alongside Lambda—have been among the many services I’ve ignored. But the use cases I’ve highlighted are among countless thousands that will work best using the server model.
When should you choose Lambda? If your task is relatively small, infrequent, and independent of other processes, then Lambda is a no-brainer. On the other hand, if it’s one piece in a larger, deeply interconnected mega-process driven by a very large code base that would be hard to refactor, you should think carefully before jumping on the Lambda bandwagon. Everything that falls somewhere in between will require you to make a judgment call, weighing all the factors as you find the right balance.