[buddypress-trac] [BuddyPress Trac] #3659: Recently Active widget doesn't scale

buddypress-trac noreply at wordpress.org
Wed Jul 16 17:10:52 UTC 2014


#3659: Recently Active widget doesn't scale
--------------------------------------+---------------------
 Reporter:  mpvanwinkle77             |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  2.2
Component:  Core                      |     Version:  1.2.10
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+---------------------

Comment (by boonebgorges):

 This all sounds great, r-a-y. Just wanted to respond quickly to this:

 >  I invalidate a widget's instance if the widget is updated or deleted.
 This is okay for the majority of widgets except for cases where the widget
 output is variable such as the Friends widget, which relies being on a
 user profile page.

 Yes, at the BP level. But when using a persistent cache, transients are
 stored in memory. And different caching engines have different techniques
 for purging old content when the allotted cache memory is full. I think
 APC just dumps the whole cache by default, and in that case it wouldn't
 matter how we stored the widget cache. But Memcache and Redis are more
 discriminate about purging. If we keep the instances in separate keys, we
 potentially reduce the number of cache misses due to automated selected
 purging of this kind. That's what I meant :)

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3659#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list