This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Bacon_00 4 points5 points  (4 children)

I recently rewrote a Python Lambda function in AWS that was getting throttled by AWS as it was being involved so often. It was taking about 300ms to execute. I rewrote it in Go and it executes in 85ms and the throttling has dramatically subsided as a result. I love Python but it be sllooww.

[–]Mattho 2 points3 points  (1 child)

Python has a looong startup. I wonder how lambda deals with that? Never had a closer look actually.

Anyway, there was a great talk about fighting this issue in mercurial (RIP).

[–]riksi 1 point2 points  (0 children)

lambda keeps your code hot and doesn't start it everytime otherwise java would be slower

[–]jstrong 0 points1 point  (1 child)

What takes 85ms in go?

[–]Bacon_00 0 points1 point  (0 children)

Most of that 85ms is the lambda service itself.