[buddypress-trac] [BuddyPress Trac] #7436: Very slow check_is_friend function

buddypress-trac noreply at wordpress.org
Mon Feb 6 15:51:50 UTC 2017


#7436: Very slow check_is_friend function
--------------------------+--------------------
 Reporter:  januzi_pl     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  2.7.5
Component:  Friends       |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by januzi_pl):

 @boonebgorges I looked up into the friendship table, didn't bother with
 confirmed/unconfirmed status. So, one user has go 20k friends, another
 ones: 5,7k, 3,9k, 800, 700, and so on (I think that I'm logged into that
 first account).

 Line 261: array is empty, no cache.
 Line 264: very big array, the last index = 11483

 As for cache I've enabled w3tc with page/database/object cache, disk only.
 I'll switch that to the memcached, when I'll get enough free time.

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


More information about the buddypress-trac mailing list