/concurrency-patterns

A set of examples helping to understand the key design patterns used in concurrent programming

Primary LanguageJava

Pattern Main Features Drawbacks
Active Object execution in a dedicated thread, allows for complex scheduling, good separation of concerns performance / code overhead
Monitor Object cooperative execution scheduling, less of performance overhead tight coupling, unsuitable for advanced scheduling
Half-Sync / Half-Async responsive interface, separation of concerns performance overhead, harder to debug
Leader / Followers
Thread-Specific Storage