Synchronized and Concurrent Collections in Java
This course dives into Java's synchronized and concurrent collections, covering thread-safe options like ConcurrentHashMap, CopyOnWriteArrayList, and blocking queues. You'll learn to manage data sharing and concurrency effectively, transitioning from basic synchronized collections to high-performance, scalable concurrent utilities for real-world applications.
Lessons and practices
Exploring Synchronized Collections in Java
Enhance Functionality with Decrement Method
Enhance with Concurrent Updates
Running Synchronized Map Code
Extending the List Functionality
Write a Thread-Safe Playlist Manager
Explore ConcurrentHashMap in Action
Fixing Concurrent Data Access Issues
Expand ConcurrentHashMap with Remove Functionality
Adding Order to the Map
Write a Thread-Safe Session Manager
Exploring Thread-Safe Subscriber Lists
Switching to Sets
Ensuring Unique Subscribers
Safely Remove Subscribers
Building a Log System
Running Tasks with Queues
Queue Capacity Limits in Action
Fix Queue Handling Bugs
Cancel Tasks in the Queue
Real-Time Log Processor Using ConcurrentLinkedQueue
Interested in this course? Learn and practice with Cosmo!
Practice is how you turn knowledge into actual skills.