Toxiproxy - Spring Boot setup
This article is the first in a series on Toxiproxy. It covers how to set up Toxiproxy and verify that it works in a Java environment using Spring Boot.
This article is the first in a series on Toxiproxy. It covers how to set up Toxiproxy and verify that it works in a Java environment using Spring Boot.
Working with certificates can be tedious. When testing something not related to security, certificates are often just making things more complex and the tests end up trusting all certificates anyway.
For that, and for other reasons, it can be useful to have a proxy that allows you to send http traffic to a https site without having to worry about certificates.
Proper logging is an essential part of any production system. For instance, in the case of an exception, you might want to log the state of some variables and the stacktrace.
If you have ever considered adding logging to your code but then decided not to do it because you were afraid that it would log too often / too much data, then this article will be useful to you as it explains how to use a rate limited logger.
This article continues the dive into the Java Microbenchmark Harness aka. JMH by comparing Java’s boxing performance in a for loop vs using primitive types to achieve the same.