Virtual threads in Java 21, Java profilers, a new build system for Java, auto-explain for Postgres, and Generative AI!
Search Results for: Concurrency
Resilience4j Events Endpoints
A quick and practical guide to Resilience4j events and endpoints for listing them in SpringBoot applications.
Difference Between parallelStream() and stream().parallel() in Java
Explore the ways we can create parallel Streams from a Collection data source.
Spring Kafka: Configure Multiple Listeners on Same Topic
Learn how to configure multiple listeners for the same Kafka topic using Spring Boot.
UUID vs. Sequential ID as Primary Key
A comparison between sequential IDs and UUIDs used as primary keys.
Thread.sleep() vs Awaitility.await()
Learn two different approaches for handling asynchronous operations in Java.
Singleton Design Pattern vs Singleton Beans in Spring Boot
Compare singleton beans with objects created using the singleton design pattern.
Jakarta EE 10
Explore features of the new Jakarta EE 10 release.
Callback Functions in Java
A quick and practical guide to callback functions in Java.
Class Methods vs Instance Methods in Java
A brief comparison between class and instance methods in Java.
Reading and Writing With a ConcurrentHashMap
A quick and practical guide to reading and writing from a hash table data structure in a thread-safe way using the ConcurrentHashMap class.
Java Weekly, Issue 464
Spring 6 is finally out. Boot 3 is coming as well. Definitely a good week 🙂
Thread vs. Single Thread Executor Service
Learn the difference between a thread and an executor service having a single worker thread.
Can a Java Application Use More Memory Than the Heap Size?
Learn how to restrict the total memory usage in Java.
How to Check if All Runnables Are Done
Learn how to check if runnable objects are done.
Limiting the Requests per Second With WebClient
Learn various ways of limiting the request per second of a web client.
Java Weekly, Issue 460
Less footprint with Project Leyden, observability in Spring Boot 3, Hibernate 6 migration, high-performance java serialization, and logical replication!
Understanding java.lang.Thread.State: WAITING (parking)
Learn what waiting and parking mean for a thread.
SEDA With Spring Integration and Apache Camel
Learn about Staged Event-Driven Architecture (SEDA) using Spring Integration and Apache Camel.
Java Weekly, Issue 455
Loomified Helidon, no object allocations, extent-local vars, Java 19/20, Postgres-compatible distributed database, and request waiting list.