December 2019
Intermediate to advanced
346 pages
9h 8m
English
If the application flow requires us to connect to various microservices, then it makes more sense to create a dedicated thread pool for such tasks. With a single thread pool, if a service starts having issues, then all the threads from the pool can become exhausted. This can impact the performance of a microservice. This pattern is also known as the Bulkheads pattern. The following diagram shows two microservices with a shared pool. As you can see, both microservices use a shared connection pool:

The following diagram shows two microservices with dedicated thread pools:
In the next section, we will introduce how async ...
Read now
Unlock full access