Topic archive
Java
Java tutorials, examples, and performance tips.
-
Building a Production-Ready Java Rate Limiter with Token Bucket Algorithm
Step-by-step guide to implementing a robust Java Token Bucket rate limiter for production systems.

-
Distributed Tracing in Spring Boot 3 with Micrometer Tracing and Zipkin: Migrating from Spring Cloud Sleuth
Spring Cloud Sleuth is end-of-life. Two Spring Boot 3.5.16 services, Micrometer Tracing with Brave, Zipkin 3.6.1: the same traceId in both logs, the trace fetched from Zipkin’s API, W3C headers on the wire, and sampling measured at exactly 10 of 100.

-
Implementing Java Custom Annotation Processors for Compile-Time Code Generation
Learn how to implement custom Java annotation processors to automate compile-time code generation with an end-to-end builder pattern example, including setup, testing, and best practices.

-
Implementing Java Circuit Breaker Pattern with Resilience4j for Fault Tolerant Microservices
Implement Java circuit breakers with Resilience4j to build fault tolerant microservices that gracefully handle failures and improve system resilience.

-
Practical Guide to Using Java Vector API for Optimized Data-Parallel Computations
Learn to harness the Java Vector API for explicit SIMD programming with a detailed setup guide, end-to-end example, verification, troubleshooting, and production best practices.

-
Building Custom Java Classloaders to Enable Plugin Architectures in Enterprise Applications
Discover techniques to create custom Java classloaders facilitating dynamic plugin architectures in enterprise apps for enhanced modularity and scalability.

-
Practical Guide to Java CompletableFuture Exception Handling and Composition
A comprehensive engineering guide for Java developers mastering CompletableFuture for resilient async workflows, including exception handling, composition, verification, and best practices.

-
Using Java Foreign Function & Memory API for Efficient Native Interoperability
Explore Java’s Foreign Function & Memory API to simplify native code integration, improve performance, and safely manage native memory in your Java applications.
