1)
Using Postsharp as an AOP framework with this CodePlex Caching Manager:
- hard to maintain if any bug appears
- not very much reliable if a bug appears in the future
2)
Using SPRING.NET as an AOP framework with Custom CacheManager:
- most neat
- less maintainability
3)
CacheManager from Enterprise Library Caching Block and use it in each method
- quickest to setup
- Perhaps most stable
- Duplicated code in every method (GET, ADD from/to cache)
4)
My own Custom lightweight CacheManager and use it in each method
- Lightweight and perhaps highest performance
- More work
- Duplicated code in every method (GET, ADD from/to cache)
No comments:
Post a Comment