Chapter 3. Developing a Concurrent Strategy
In the previous chapter, we looked at the concurrency model that Go relies on to make your life as a developer easier. We also saw a visual representation of parallelism and concurrency. These help us to understand the differences and overlaps between serialized, concurrent, and parallel applications.
However, the most critical part of any concurrent application is not the concurrency itself but communication and coordination between the concurrent processes.
In this chapter, we'll look at creating a plan for an application that heavily factors communication between processes and how a lack of coordination can lead to significant issues with consistency. We'll look at ways we can visualize our concurrent strategy on paper so that we're better equipped to anticipate potential problems.
Applying efficiency in complex concurrency
When designing applications, we often eschew complex patterns for simplicity, with the assumption...