Re-thinking developer experience • Product @Gitpod 🍊 Helping folks get their start in cloud • @openupthecloud ☁️ AWS Community Builder 🛠 Replies in GIFS 😃
Cool article Marco! This covers some important and interesting nuances about logging in serverless, which is definitely not easy! And as you say, a really important aspect.
I thought you might find this package, and specifically this module interesting if you haven't already seen it:
Hey @Lou, thanks for your comment and the link. I was aware of that package and I was going to mention it. As far as I know, its implementation is based on the first links above (or the other way around :P).
The log-timeout middleware is useful to get warnings when a lambda times out if I understand correctly. In fact, native AWS timeout messages are quite hard to spot.
In this post, I'm saying that sometimes it is better sacrifice "logging" in order to avoid timeouts in the first place.
Re-thinking developer experience • Product @Gitpod 🍊 Helping folks get their start in cloud • @openupthecloud ☁️ AWS Community Builder 🛠 Replies in GIFS 😃
Cool article Marco! This covers some important and interesting nuances about logging in serverless, which is definitely not easy! And as you say, a really important aspect.
I thought you might find this package, and specifically this module interesting if you haven't already seen it:
github.com/getndazn/dazn-lambda-po...
Hey @Lou, thanks for your comment and the link. I was aware of that package and I was going to mention it. As far as I know, its implementation is based on the first links above (or the other way around :P).
The
log-timeout
middleware is useful to get warnings when a lambda times out if I understand correctly. In fact, native AWS timeout messages are quite hard to spot.In this post, I'm saying that sometimes it is better sacrifice "logging" in order to avoid timeouts in the first place.
Awesome — also congrats on your first DEV article! I'm the mod for serverless, so let me know if you have any ideas or thoughts! :)