I have a read heavy site with basically _all_ unauthenticated users. I'm OK with losing some dynamic-ness as well. I am planning to drop varnish in (front of the front page only) with a short TTL. I think that should buy me a lot. Things perform fairly well on a site of ~25mi hits/month, but mysql is hammered.
Using Garvin's entryproperties plugin, I should be able to write a memcache plugin that takes those things in the entryproperties table, combines entryid + property (either cat them together or hash them together) as the key and then the value as (duh) the value. Maybe do this only for ep_cache_body + ep_cache_extended?
The trouble I have is that the entryproperties cache is not dynamic, it caches EVERYTHING during admin operations. Since memcache is ephemeral, we need the logic to check for the entry in memcache first and fall back to frontend_display_cache if it's not there (adding the entry to the cache during that fallback of course!).
I understand that there is some manipulation of frontend_display with entryproperties, is it completely overridden? Does that require messing with core or is this something that can be done completely via the plugin API? Maybe this is better if i extend entryproperties? How can I insert logic between when the framework asks for the entry and when it's fetched?
Some guidance would be very much appreciated! I wish you would translate your book, Garvin.
EDIT: just to be honest, I've been staring at entryproperties for the past couple days trying to hammer this out, but I think I need to be pointed in the right direction! Thanks!