Tag: Concurrency
Java Patterns For Concurrency
This post talks about some of the patterns we can use to solve concurrency issues relating to state shared across multiple threads. The goal is to provide some smarter alternatives to slapping synchronized on every method call, or around every block of code. The problem with synchronized is that is requires everyone to participate. If […]
Continue Reading...Java Concurrency – Introduction
First in a series on concurrency and describes some of the problems with concurrency in our code and simple ways we can fix them. While there are far more complex problems that require more advanced solutions they all share the same principles and in many cases, are rooted in these basic solutions.
Continue Reading...