A practical guide to writing small event loops in Java 21 and Java 25 using virtual threads, blocking queues, direct control flow, and graceful shutdown.
Learn how Java’s StampedLock enables near lock-free reads with optimistic locking, why it’s useful for virtual threads and read-heavy workloads, and how to use it safely.
Learn how we scaled PostgreSQL to handle millions of inserts per hour using application-level sharding with Spring Boot, combining table partitioning and host-level sharding for robust performance.