Tom WaltonA Brief Summary of Retry StrategiesThe goal of this post is to help you pick the right retry strategy for your use case. This will enable you to overcome transient API…Mar 1, 2022Mar 1, 2022
Tom WaltonReturn nothing, with Java OptionalsIn Java, it is common for a method to return null, or throw an exception, when it cannot return a value. In this post I aim to convince you…Feb 1, 2022Feb 1, 2022
Tom WaltonExperimenting with AWS Lambda Cold StartsAWS Lambda is a great serverless compute platform. It is extremely elastic, scaling up and down to meet your workload as required, so you…Jan 3, 2022Jan 3, 2022
Tom WaltonWhere to Log ExceptionsLogging exceptions that occur is important for understanding why a program, or part of it, failed. However, bad logging practices can make…Dec 18, 2021Dec 18, 2021
Tom WaltonAWS Lambda-SQS Integration — Scaling SurprisesUsing SQS queues with Lambda functions is a very commonly used pattern, and for good reason. It’s a highly horizontally scalable way of…Sep 21, 2021Sep 21, 2021
Tom WaltonFail-fast with Java’s requireNonNull methodNull pointer exceptions can be a tricky bug because they can occur far from where the root cause of the problem is. A null value may be…Aug 21, 2021Aug 21, 2021