Overview of the java.util.concurrent 1. Overview The java.util.concurrent package provides tools for creating concurrent applications. In this article, we will do an overview of the whole package. 2. Main Components The java.util.concurrent contains way too many features to discuss in a single write-up. In this article, we will mainly focus… Continue Reading java-util-concurrent

Concurrency with LMAX Disruptor – An Introduction Java Java Concurrency 1. Overview This article introduces the LMAX Disruptor and talks about how it helps to achieve software concurrency with low latency. We will also see a basic usage of the Disruptor library. 2. What Is a Disruptor? Disruptor is an… Continue Reading lmax-disruptor-concurrency

Java Concurrency Utility with JCTools 1. Overview In this tutorial, we’ll introduce the JCTools (Java Concurrency Tools) library. Simply put, this provides a number of utility data structures suitable for working in a multi-threaded environment. 2. Non-Blocking Algorithms Traditionally, multi-threaded code which works on a mutable shared state uses locks to ensure data… Continue Reading java-concurrency-jc-tools

wait and notify() Methods in Java 1. Introduction In this article, we’ll look at one of the most fundamental mechanisms in Java – thread synchronization. We’ll first discuss some essential concurrency-related terms and methodologies. And we’ll develop a simple application – where we’ll deal with concurrency issues, with the goal… Continue Reading java-wait-notify