AWS Lambda is one of the most popular serverless computational architecture in use.
It is Event Driven.
It supports the following Function Runtime
File Size Limitations
It is Event Driven.
It supports the following Function Runtime
- Python 2.7
- Node.js v0.10.36 v4.3.2
- Java 8
- C# Runtime.
File Size Limitations
- Uncompressed code and dependencies must be < 250MB
- Compressed function < 50MB
- Total File Size in all of the Region < 75GB
- Search for smaller 3rd party libraries
- Can consider micro services architecture vs monolith
- Other runtime solutions like python vs java vs Javascript
- Empheral File Storage < 512MB
- Maximum Execution Limitations of 300 seconds ( it includes wait time for DB query or an API return call )
- Limit of 100 Concurrent Lambda function
- Suppose you have to write a file processing functionality using Lambda, consider downloading it in S3 (in 500MB chunks) and processing in lambda.
- Break as needed and chain lambdas
- If you want to call more than 100 Lambdas , try contacting AWS and see if they can increase the limit in your account.
- Memory 128 MB - 1.5 GB
- CPU doesn't have a configuration within lambda function , but it should scale proportionately with memory allocation to your function.... so if you double the memory in your function it should double the CPU.
- Can configure function to access resources only within VPC , runs inside a VPC by default it doesn't have access to resources within your private VPC
- They are given certain default configurations , based on role you provide
No comments:
Post a Comment