News for hackers. Stuff that matters.
Re:How we built a serverless architecture with AWS by Charles_t on Thursday July 11, 2019 @04:12PM (#20415308)
This is not going to scale. Lambdas are hella slow. The cold starts will kill you.
Re:How we built a serverless architecture with AWS by brad0 on Thursday July 11, 2019 @07:52PM (#20416958)
The only two places where the cold starts will hurt is the API key auth and the JWT auth/posting to kinesis. Plus if it's being called with any kind of decent frequency it won't matter.
Re:How we built a serverless architecture with AWS by poxrud on Thursday July 11, 2019 @07:47PM (#20416931)
With constant traffic cold starts should not be happening. Also lambdas will stick around for 45-60 minutes before going cold.
Re:How we built a serverless architecture with AWS by kdeorah on Thursday July 11, 2019 @07:55PM (#20416974)
That's exactly right. Background location tracking leads to constant traffic. Not running into cold starts as an issue.
Re:How we built a serverless architecture with AWS by vageli on Friday July 12, 2019 @09:40AM (#20420600)
> This is not going to scale. Lambdas are hella slow. The cold starts will kill you.

Frameworks like Zappa handle this out of this box by setting up executions to run via cloudwatch event cron.

Re:How we built a serverless architecture with AWS by vorpalhex on Thursday July 11, 2019 @04:59PM (#20415786)
You can pay to never hit cold starts..
Re:How we built a serverless architecture with AWS by iends on Thursday July 11, 2019 @11:20PM (#20417831)
No you can't, you can just try and keep your lambdas warm, but that isn't the same thing.
Re:How we built a serverless architecture with AWS by jjtheblunt on Friday July 12, 2019 @12:53AM (#20418285)
wouldn't EC2 be an example of paying to never hit cold starts?
Re:How we built a serverless architecture with AWS by snak on Friday July 12, 2019 @04:53AM (#20419278)
No, you can't.