“Caching can be very powerful indeed, but you need to understand the full path of data that is cached from source to destination to really appreciate its complexities and what can go wrong”
― Building Microservices: Designing Fine-Grained Systems
― Building Microservices: Designing Fine-Grained Systems
“You’ll often see posts about people beating the CAP theorem. They haven’t. What they have done is create a system where some capabilities are CP, and some are AP. The mathematical proof behind the CAP theorem holds. Despite many attempts at school, I’ve learned that you don’t beat math.”
― Building Microservices: Designing Fine-Grained Systems
― Building Microservices: Designing Fine-Grained Systems
“Two different pieces of technology, Swagger and HAL, try to make this a reality, and both are worth looking at.”
― Building Microservices: Designing Fine-Grained Systems
― Building Microservices: Designing Fine-Grained Systems
“I get asked this question a lot. My first piece of advice would be that the less well you understand a domain, the harder it will be for you to find proper bounded contexts for your services. As we discussed previously, getting service boundaries wrong can result in having to make lots of changes in service-to-service collaboration — an expensive operation. So if you’re coming to a monolithic system for which you don’t understand the domain, spend some time learning what the system does first, and then look to identify clean module boundaries prior to splitting out services.”
― Building Microservices: Designing Fine-Grained Systems
― Building Microservices: Designing Fine-Grained Systems
“Be careful about caching in too many places! The more caches between you and the source of fresh data, the more stale the data can be, and the harder it can be to determine the freshness of the data that a client eventually sees. This can be especially problematic with a microservice architecture where you have multiple services involved in a call chain. Again, the more caching you have, the harder it will be to assess the freshness of any piece of data. So if you think a cache is a good idea, keep it simple, stick to one, and think carefully before adding more!”
― Building Microservices: Designing Fine-Grained Systems
― Building Microservices: Designing Fine-Grained Systems
Balhau’s 2025 Year in Books
Take a look at Balhau’s Year in Books, including some fun facts about their reading.
More friends…
Favorite Genres
Polls voted on by Balhau
Lists liked by Balhau
























