Skip to main content

23 docs tagged with "concurrency"

View all tags

AWS Lambda

Comprehensive Lambda study guide for DVA-C02. Covers invocation types, concurrency, cold starts, event source mappings, layers, container images, environment variables, VPC integration, destinations, and Java handler patterns.

Chapter 13 — Concurrency

Full coverage of Java concurrency: platform threads, virtual threads (Java 21), Runnable vs Callable, ExecutorService, Future, atomic classes, synchronized, ReentrantLock, volatile, concurrent collections, deadlock, and parallel streams — with real-world thread-safety traps.

Chapter 6: Functional Programming

Functional programming's core discipline — immutability — eliminates entire classes of concurrency bugs. Learn how immutability, segregation of mutability, and event sourcing shape modern system design.

Handling Contention

Strategies for dealing with race conditions, concurrent writes, hot spots, and lock contention in distributed systems including optimistic locking, MVCC, distributed locks, and queue-based serialization.

Java Concurrency & Utilities

Comprehensive guide to Java concurrency, covering concurrent utilities, thread pools, the Fork/Join framework, and async programming.

Java Locks & Synchronization

Deep dive into Java locks and synchronization primitives, including synchronized, volatile, ReentrantLock, ReadWriteLock, StampedLock, and AQS.

Java Threads & Processes

A complete guide to threads, processes, lifecycles, and basic thread coordination (join, interrupt, daemon threads) in Java.

Parallel Consumer Deep Dive

Deep dive into the Confluent Parallel Consumer model for decoupling thread concurrency from partition counts safely.

Processes & Threads — Complete Guide

A complete guide to processes and threads — memory layout, lifecycles, IPC, threading models, context switching, Java concurrency, virtual threads, thread pool tuning, memory visibility, and production patterns. Beginner through senior depth.

Synchronization & Deadlocks

Race conditions, critical sections, mutexes, semaphores, monitors, classic synchronization problems, deadlock detection/prevention, and Java concurrency utilities.

Virtual Threads (Project Loom)

A comprehensive deep dive into Java 21 Virtual Threads, Carrier Threads, continuations, and avoiding synchronized pinning for senior engineers.