[wp-meta] [Making WordPress.org] #1112: Site Cloner: Scale to support hundreds of sites

Making WordPress.org noreply at wordpress.org
Sat May 14 05:11:10 UTC 2016

#1112: Site Cloner: Scale to support hundreds of sites
 Reporter:  iandunn       |       Owner:  iandunn
     Type:  enhancement   |      Status:  accepted
 Priority:  normal        |   Milestone:
Component:  wordcamp.org  |  Resolution:
 Keywords:  needs-patch   |

Comment (by prettyboymp):

 attachment:112.2.diff includes the following updates:

 * A new route integrated with the rest-api to create a JSON endpoint on
 each site that the customizer integration uses to retrieve the site data.
 * Filters for year, theme, and css_proprocessor when searching for sites
 to clone within the customizer
 * WP Cron handling to keep the site list transient up to date.

 Some notes about the WP Cron:  Since nearly 100 WordCamp sites are being
 generated each year, having a single cron event that retrieved all of the
 sites and dumped them into cache didn't seem like a long term solution.
 Instead, I setup a daily cron event that will prime the most recent 500
 WordCamps into cache.  If there are more sites to prime after that point,
 a second event will be scheduled 10 minutes later to update the next set
 of sites.  This will repeat until the list is exhausted.

Ticket URL: <https://meta.trac.wordpress.org/ticket/1112#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list