Re:New for AWS Lambda: Use Any Programming Language and Shar...
by jvanvleet on Thursday November 29, 2018 @01:34PM
(#18562540)
https://github.com/awslabs/aws-lambda-cpp makes claims of millisecond cold start.
[ Parent
| on HN ]
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by nostrebored on Thursday November 29, 2018 @03:20PM
(#18563585)
That's not for in-VPC functions, although if the underlying instance changes with firecracker migration users might see ENI start improvements. Currently your ENI usage is roughly floor(3GB/Memory Allocation)*(Concurrent Executions). If the 3GB changes users will see huge gains as each ENI creation can take around 9s.
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by k__ on Thursday November 29, 2018 @04:04PM
(#18563997)
Why would you use VPC functions?
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by Wintereise on Thursday November 29, 2018 @04:49PM
(#18564402)
Mostly due to being forced. For example: serverless aurora forces a VPC on you.
With delays as bad as 8+ seconds for ENI attachment, this is a significant holdback (https://medium.freecodecamp.org/lambda-vpc-cold-starts-a-lat...)
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by zwily on Thursday November 29, 2018 @06:16PM
(#18565095)
I believe you can now use Aurora Serverless outside of a VPC by using the new Data API endpoint.
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by Wintereise on Thursday November 29, 2018 @07:32PM
(#18565571)
You indeed can, but it's beta (us-east-1 only at the moment) and leaves a lot to be desired (https://www.jeremydaly.com/aurora-serverless-data-api-a-firs...)
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by k__ on Thursday November 29, 2018 @06:05PM
(#18565011)
Ah okay, I never thought about using an SQL DB.
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by jvanvleet on Thursday November 29, 2018 @04:17PM
(#18564100)
True. In-VPC has extra costs.
Re:New for AWS Lambda: Use Any Programming Language and Shar...
by hn_throwaway_99 on Thursday November 29, 2018 @02:13PM
(#18562952)
I'm wondering how that's even possible if it includes the time for downloading your code from S3. I.e. normal cold starts (as I understand it) involve fetching the code from S3 to install on a VM. Perhaps they aren't including that time when claiming single milli cold start times?