[wp-trac] [WordPress Trac] #35096: Every option call results in a database query on multisite

WordPress Trac noreply at wordpress.org
Tue Dec 15 13:51:51 UTC 2015


#35096: Every option call results in a database query on multisite
--------------------------------+------------------------------
 Reporter:  buley               |       Owner:
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:  4.4
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by danielbachhuber):

 @buley This is on a site using Memcached as a persistent object cache
 backend, right?

 If so, when you exceed your bucket size, WordPress will repeatedly attempt
 to prime your alloptions cache because the data never makes it into
 Memcached. When you use an object cache drop-in, the behavior of the
 object cache becomes the responsibility of the drop-in, not WordPress.
 Most drop-ins don't have fail back behavior as the [https://github.com
 /pantheon-systems/wp-redis/pull/18 WP Redis drop-in does].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35096#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list