[wp-trac] [WordPress Trac] #31245: Replace alloptions with a key cache
WordPress Trac
noreply at wordpress.org
Wed Oct 26 22:58:49 UTC 2016
#31245: Replace alloptions with a key cache
-------------------------------------+-----------------------------
Reporter: rmccue | Owner: rmccue
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: performance
-------------------------------------+-----------------------------
Comment (by danielbachhuber):
Replying to [comment:25 joehoyle]:
> The more I think about this, the more I think this won't be suitable for
core, as it's going to be a lot slower in situations where the object
cache can't handle a get/set multi (as pointed out by @tellyworth).
>
> The approach of allowing the cache drop-in to support it's own
alloptions gettings / setting would be better. Right now, this takes a
crazy amount of hacking to do.
@joehoyle Did you ever get to a working patch for this? WP LCache exhibits
the race condition issue more severely than most drop-ins, so I need to
start working on an alternative.
At this point, I'm thinking the alternative alloptions implementation
could be a library bundled by the object cache drop-ins that want to
support it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31245#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list