More Related Content
Similar to Concurrency: The Good, The Bad and The Ugly (20)
Concurrency: The Good, The Bad and The Ugly
- 15. The Good
✓Can be mapped onto CPUs
✓"To the metal" — no overhead
✓High degree of control
- 16. The Good
✓Can be mapped onto CPUs
✓"To the metal" — no overhead
✓High degree of control
✓Debugging
- 28. The Ugly
Is it threadsafe?
— Too coarse locks?
— The right locks?
— The right locking order?
- 29. The Ugly
Is it threadsafe?
— Too coarse locks?
— The right locks?
— The right locking order?
Defensive error handling
- 30. The Ugly
Is it threadsafe?
— Too coarse locks?
— The right locks?
— The right locking order?
Defensive error handling
Do you understand JSR133?
- 41. The Bad
☣How to handle errors?
☣Dealing with blocking code
☣Closing over mutable state
- 108. The Bad
☣CPS plugin error messages
☣Limited applicability
— Error handling
☣Debugging
☣Futures are one-off