News for hackers. Stuff that matters.
Re:Ask HN: Have you shipped anything serious with a “serverl... by tbrock on Friday June 22, 2018 @10:21PM (#17379119)
Regarding the tooling: I hated debugging Lambdas via CloudWatch logs when using them for Hustle, it drove me to drink.

I eventually got upset enough that I made a tool to stream the cloudwatch logs to the terminal and colorize, indent + nicely format json output:

https://github.com/TylerBrock/saw

Re:Ask HN: Have you shipped anything serious with a “serverl... by jonathan-kosgei on Saturday June 23, 2018 @07:35AM (#17380767)
There's also https://github.com/rpgreen/apilogs but I haven't yet gotten it to work.

Cloudwatch feels like it was not made for humans. Searching and filtering for specific log events is a huge pain.

I think one of the best things one could do is to pipe your Cloudwatch logs to an ElasticSearch cluster.

Re:Ask HN: Have you shipped anything serious with a “serverl... by tbrock on Saturday June 23, 2018 @11:19AM (#17381653)
Anything where you have to install python is kind of a drag. Same thing with awslogs, etc...

Saw installs as a single binary, is performant, and has better looking output than all of them.

Re:Ask HN: Have you shipped anything serious with a “serverl... by mbu on Saturday June 23, 2018 @04:56AM (#17380277)
That looks like a nice tool! Will check it out.

Have you tried anything like iopipe for helping debug lambdas?

Re:Ask HN: Have you shipped anything serious with a “serverl... by tbrock on Saturday June 23, 2018 @11:19AM (#17381657)
No I haven’t tried it. I’ll give it a look.
Re:Ask HN: Have you shipped anything serious with a “serverl... by kolanos on Saturday June 23, 2018 @11:56AM (#17381810)
For anyone interested in giving IOpipe a try, it supports Node.js [0], Python [1], Java [2] and Go [3].

[0]: https://github.com/iopipe/iopipe-js/ [1]: https://github.com/iopipe/iopipe-python/ [2]: https://github.com/iopipe/iopipe-java/ [3]: https://github.com/iopipe/iopipe-go/

Disclosure: Work on the Python and Go agents.