Plugin Directory

Opened 4 years ago

#2213 new enhancement

wp-photo-album-plus shows bad performance on high traffic site

Reported by: speedpartner Owned by:
Priority: high Severity: normal
Plugin: not-listed Keywords:


On a high traffic site with about 276k req/day wp-photo-album-plus drops performance as Session Cleanup is performed on every request (using a timestamp as criteria which results in a full table scan).

Attached you'll find a patch which:

  • reduces garbage collection to every 50th request (should be configurable, once per hour, ...)
  • adds expire-timestamp-comparison to the select-query

Attachments (1)

wp-photo-album-plus-performance.diff (1.5 KB) - added by speedpartner 4 years ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.