Re:Zawodny: Database Abstraction Layers Must Die (at least f...
by prodigal_erik on Friday July 17, 2009 @01:01PM
(#710269)
Adding caching should be a large task, because cache coherence is hard. If you do it the trivial way you are almost certainly not figuring out which cache entries need to be invalidated during an update, and getting wrong answers.
If you write your app using an abstraction layer (or even a simple class wrapper), adding caching is almost trivial. If you are using the low level DB function calls it becomes a large task to cache any of your requests.