Read Through

Loading...

For read through, cache is the one that handle db update and everything. The application simply just talk to cache.

This is not recommended since it introduce a single point of failure (the cache). It also doesnt give us the flexibility to query multiple database

Pros

  • Simple, no need to change application code
    Cons:
  • Single point of failure (the cache)
  • In multiple instance of application, cache will be the bottle neck
  • Doesn't give us the option to join multiple database if later on it introduces