Category: Software, logging

uch like software applications, infrastructure provisioning has moved away from monolithic solutions, shifting focus towards decoupled components and utilisation of public service APIs. Frameworks like the AWS Serverless Application Model (AWS SAM) have come a long way and make it easy to implement complex applications in a “microservice-style”, often with little more than a few Lambdas as building blocks.

As a universal rule of thumb: Write code that is as readable as possible, and only optimize for performance if you really have to.

This is also the first advice on Best Practices for Working with AWS Lambda Functions: Logic in handlers can be difficult to follow and is extremely hard to test.

This makes the method itself extremely easy to understand and explains everything the Lambda does in just three lines of code.

Related Articles