(no title)
asteadman | 9 years ago
As for the cold boot issue, I thought the standing solution was to have a "fast-exit" ping-like code-path within the lambda. Query it on a regular basis (you can even do it with a lambda scheduled-event). That way your lambda should be kept warm.
brilliantcode|9 years ago
That completely flew under my radar, not sure why I didn't see it before (oh that's right I was heads down in Azure).
With Athena the circle is complete for me.
That fast exit ping thing is pretty cool, any more information regarding that?
Your comment is probably the most valuable one I came across to date since signing up, I wish there was a way to award a gold star like on reddit :D
There's very little objection at this point in moving to a Serverless architecture = Athena (SQL) + Lambda (CPU) + Cognito (User).
asteadman|9 years ago
You can hook your lambda up to a cloudwatch scheduled event (http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/Sc...). If you don't do much when this happens (like, you exit immediately), then you won't be charged much compute time. Can't find the reference to how often you should ping it to keep it warm, probably varies, IIRC hourly would be plenty.
xmly|9 years ago
Athena does not gurantee for timing, use it for async call and offline processing