NHibernate – Beware of inadvisably applied caching strategies (ayende.com)
submitted by
Lord(3700) 8 months, 5 days ago
One of the usual approaches for performance problems with most applications is to just throw caching on the problem until it goes away. NHibernate supports a very sophisticated caching mechanism, but, by default, it is disabled. Not only that, but there are multiple levels of opt ins that you have to explicitly state before you can benefit from caching.
The answer is quite simple, caching is an incredibly sensitive topic, involving such things as data freshness, target size, repetitive requests, etc. Each and every time I have seen caching used as a hammer, it ended up in tears, with a lot of micro management of the cache and quite a bit of frustration.
read more...
|
category: Open Source
|
Views: 10
tags:
NHIbernate OpenSource another
Everyones tags:
Your Tags: