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, 2019 in AWS by Rishab
• 1,490 points
2,959 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 22, 2019 by tina

Related Questions In AWS

0 votes
4 answers

Renaming AWS Lambda function

Nope- the function name is immutable READ MORE

answered Mar 7, 2019 in AWS by anonymous
14,243 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,540 points
1,590 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,170 points
2,256 views
0 votes
1 answer
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 22, 2019 in AWS by Fitinai
797 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP