StampedLock: How to Use Locks with Near Lock-Free Reads in Java
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 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.