Why are AWS Lambda function stateless?

0 votes
Why are AWS Lambda function stateless? Is there a particular reason for the necessity of Lambda function being stateless?
Jan 21 in AWS by Rishab
• 1,460 points
249 views

1 answer to this question.

0 votes

Keeping functions stateless enables AWS Lambda to rapidly launch as many copies of the function as needed to scale to the rate of incoming events. While AWS Lambda’s programming model is stateless, your code can access stateful data by calling other web services, such as Amazon S3 or Amazon DynamoDB. You can read more about why to form your lambda function in a stateless way here:-
https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html

answered Jan 21 by tina

Related Questions In AWS

0 votes
4 answers

Renaming AWS Lambda function

Nope- the function name is immutable READ MORE

answered Mar 6 in AWS by anonymous
2,057 views
0 votes
1 answer
0 votes
1 answer

How to link AWS Lambda function to Amazon CloudWatch ?

In order to create Log Group and ...READ MORE

answered Jul 20, 2018 in AWS by datageek
• 2,440 points
120 views
0 votes
1 answer

Error when tried to invoke lambda function by AWS CLI

It looks like you need to provide ...READ MORE

answered Sep 10, 2018 in AWS by Archana
• 4,090 points
350 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is AWS Lambda code isolated to others and how?

AWS Lambda functions execute in a container ...READ MORE

answered Jan 21 in AWS by Fitinai
26 views