Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The old statistics didn't cover every operation (flush and delete weren't reported), and it was difficult to see exactly what the sequence of events was. This patch improves the reporting by making it tabular, by recording every event, in the order that it happens, and reporting whether a get action results in a hit or not. It also differentiates between get and getMulti. In fact, in my testing with the new statistics, it appears that getMulti is always failing (different issue).
Comment | File | Size | Author |
---|---|---|---|
#3 | stats_d7.patch | 6.34 KB | robertDouglass |
Screenshot.png | 64.61 KB | robertDouglass | |
memcachestats.patch | 5.69 KB | robertDouglass |
Comments
Comment #1
robertDouglass CreditAttribution: robertDouglass commented#911226 by robertDouglass: Added Improved statistics reporting.
committed to 6.x.
Comment #2
Jeremy CreditAttribution: Jeremy commentedI suspect the multi-get that's "failing" is simple the wildcard support -- it makes a lot of queries, and most will not match anything. (We're working on a patch to minimize the number of queries required in 7.x, and will backport it to 6.x when it's complete) In any case, I'm eager to see this ported to 7.x too, proper reporting like this is quite useful. Thanks, Robert!
Comment #3
robertDouglass CreditAttribution: robertDouglass commentedHere's the D7 patch ... which I'm committing.