[wp-trac] [WordPress Trac] #22301: Performance problem with Recent Comments widget

WordPress Trac noreply at wordpress.org
Sun Nov 11 18:13:57 UTC 2012


#22301: Performance problem with Recent Comments widget
--------------------------+------------------------------
 Reporter:  pento         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------
Changes (by nacin):

 * version:  trunk => 2.8


Comment:

 It isn't likely that a low-traffic site is using a persistent cache, so
 the concern of (1) is minor. In the case of a persistent cache, we could
 schedule an event, yes, but we could also try to store a "lock" in the
 persistent cache store. Whichever process successfully sets the lock gets
 to run the query, and until the query is complete, the old cache gets
 used. Just an idea.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22301#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list