Focus On The Community: Avoiding Multiple Simultaneous Database Calls When Using the Cache Aside Pattern
By rob.misek on Jan 16, 2013
There are certain scenarios where you are not able to us Coherence's Read-Through capabilities. In such cases the Cache Aside pattern is most commonly used.
The "cache aside" pattern is perhaps the easiest way to introduce caching to an existing application. It usually requires the least disruption to code and can even be "injected" without code changes using AOP. Although it can seem trivial there are a few "gotchas". For example, when using the cache aside pattern, multiple simultaneous cache requests for the same piece of data across your environment will result in multiple database requests.