
How to Tune G1 GC Without Cargo Culting Flags in Java
Tune G1 by sizing the heap from the container, setting a pause goal and fixing humongous allocations, and leave out the flags that only make it worse.
Everything you need to level up your coding skills.

Tune G1 by sizing the heap from the container, setting a pause goal and fixing humongous allocations, and leave out the flags that only make it worse.

Eventual consistency explained for Java developers: why it exists, read your writes problems, design patterns for UIs and APIs and how to handle conflicts.

Make Quarkus calls resilient with SmallRye Fault Tolerance: @Timeout, @Retry, @CircuitBreaker, @Fallback and @Bulkhead, with sensible values and their limits.

Draw bar, line and pie charts in JSF with PrimeFaces: build a ChartModel in a bean, bind p:chart, update it with AJAX, handle click events and size data.

Migrate JUnit 4 rules to JUnit 5 extensions: TemporaryFolder to TempDir, ExpectedException to assertThrows and custom rules to callbacks.

Debug a Spring Boot app from the IDE or attach to a running JVM, break only on matching requests and find out why a bean is missing.

Migrate a Struts 1 application to Struts 2 in stages: run both side by side, convert actions, forms, validation and tags, and cut over by module.

Migrate a Play 2.8 application to Play 3: go through 2.9 first, update sbt and Java, swap Akka for Pekko, fix removed APIs and verify before deploying.

What Micronaut 4 changed: a Java 17 baseline, the Jakarta namespace, a new HTTP client, virtual threads, Micronaut Serialization and a refreshed core.

Work through why Maven cannot resolve a dependency: a wrong coordinate, a cached failure, a blocked mirror, missing credentials or a proxy.

How Hibernate dirty checking decides which entities to UPDATE at flush: snapshots, comparison cost, DynamicUpdate and bytecode enhancement.

Read the index and length in the exception, find the off-by-one or empty-input bug that caused it and fix it for arrays, lists and strings.
We send one email when a new post is published. No spam.