[wp-hackers] Transient Size/Performance

Brian Fegter brian at fegter.com
Wed Aug 31 04:55:43 UTC 2011


Otto,

It's a massive enterprise site that gets tens of thousands if not hundreds
of thousands (at times) of visitors per day. I was thinking the fail-safe
would be to store the indexed videos in an option that is available even if
the cache is cleared. The client wants some semblance of popularity
representation, and doesn't need to be completely relevant real-time. I
could also see adding an extra post meta field to each video with the latest
hit count. The cron job could purge all of these hits on the next run and
replenish the new set of videos with the popularity meta. This whole process
is to identify 20-30 videos across the site.

Thanks for your input on this.

Brian


More information about the wp-hackers mailing list