JIT internals, project Loom, DTO/entity mapping, micro-batching, monolith to microservices, and object storage in K8S!
Search Results for: Concurrency
What Is “Locked Ownable Synchronizers” in Thread Dump?
What are locked ownable synchronizers and how to read a thread dump using them.
Java Weekly, Issue 449
Parallel GC, DB sequences for Spring Data JDBC, multitenancy with Hibernate, feature flags, and durability in message queues!
Volatile vs. Atomic Variables in Java
Learn the difference between the volatile keyword and atomic classes and what problems they solve
Java Weekly, Issue 447
Hibernate UUIDs, Kotlin coroutines, max database connections, K8S native Java, and advocate vs educator!
Java Weekly, Issue 441
Java GCs, Project Panama, Spring Data JDBC, multiset vs joins, structured concurrency, and HTTP/3.
Java Weekly, Issue 440
Java 9 cleaners, structured concurrency in Java 19, definitely non-nullable types in Kotlin, native Java, and maxUnavailable for StatefulSets.
Introduction to Spring Cloud Sidecar
Learn about Spring Cloud Sidecar and how to take advantage of Spring Cloud in a microservice world having polyglot services written with different languages and frameworks.
Using Transactions for Read-Only Operations
An explanation about transactions and a practical example of different approaches to handle read-only transactions.
Java Weekly, Issue 438
Structured Concurrency, destructing patterns for Records, a JVM crash story, gRPC probes, and index scans in Postgres!
Differences Between set() and lazySet() in Java Atomic Variables
Learn the differences between set() and lazySet() methods of atomic classes in Java and understand when to use which method.
Java Weekly, Issue 436
Project loom in Java 19, ZGC in Java 18, empty finalize, cloud-native Micronaut, symmetric cryptography, and K8S 1.24.
Get the Number of Rows in a ResultSet
Learn the different ways of counting the number of rows of a JDBC ResultSet.
Acquire a Lock by a Key in Java
Learn how we can get a lock on a specific key to prevent concurrent actions on that key without impeding actions on other keys
Producer-Consumer Problem With Example in Java
A quick and practical guide to Producer-Consumer problem in Java.
Java Concurrent HashSet Equivalent to ConcurrentHashMap
Explore different possibilities to create thread-safe Set instances and emphasized the differences between them.
Java IdentityHashMap Class and Its Use Cases
Learn how to use IdentityHashMap in Java
Volatile Variables and Thread Safety
Learn why declaring a shared variable as volatile does not always guarantee thread-safety.
Set the Name of a Thread in Java
Learn to set a Thread name in Java.
Java Weekly, Issue 417
Kotlin extension and delegations, Spring Boot 2.6, custom JPA repositories, open-source dilemma, and microservices vs monoliths!