The moose likes JDBC and Relational Databases and the fly likes cache-aside or cache-as-sor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "cache-aside or cache-as-sor" Watch "cache-aside or cache-as-sor" New topic

cache-aside or cache-as-sor

Himanshu Mall

Joined: Jun 28, 2010
Posts: 22
Hello everyone,

I was going through the Ehcache user guide and got confused with one given example:

If DAO layer is handling the cache read and write activity itself, then is it a cache-aside pattern or cache-as-sor pattern?

As per my understanding it should be cache-as-sor, since for any Application, DAO is the s-o-r (system of record).

Did i miss something important?

Please help me out.

Himanshu Mall
I agree. Here's the link:
subject: cache-aside or cache-as-sor
It's not a secret anymore!