Re: bbPress 2.0 – Updates
Along the lines of what CK is talking about, the issue is one of DB structure. WordPress only gives us post_parent to help with post relationships, which leaves us with postmeta for everything else. That’s forces us to rely on the object cache and to try to predictively preload data that would otherwise be queried selectively and only as needed. A fully tricked out install with widgets and sidebar can fore the query count into the hundreds on pages like the user profile, with the object cache still missing quite a few.
Compared to bbPress 0.9, the current incarnation of the plugin will be abysmal query wise. Caching helps tons with this on the reads end of things. I’ve gotten it down to 1 cache miss on most pages, with auto cache refresh on writes. But this is one area where more eyes will be helpful. Like CK said, there probably isn’t a whole lot that can be optimized but I’d love to see it.