Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Scaling WordPress

Scaling WordPress

WordPress is powering some of the biggest publishing sites on the web (CNN.com, techcrunch.com, wired.com). It's no accident that one of best CMSes on the web is chosen to be the publishing platform of choice by these content providers. That said, each of these companies have had to work hard to push the limits of the software to scale to meet the needs of their enormous audiences. In my talk, I will discuss the essential ingredients needed for scaling WordPress to millions of users. This talk will include discussion of integrating external services and technologies along with performant PHP practices to provide a stable publishing experience for the masses.

Zack Tollman

March 15, 2015
Tweet

More Decks by Zack Tollman

Other Decks in Technology

Transcript

  1. $args = array(
 'number' => 5,
 'username' => 'tollmanz',
 'include_rts'

    => false,
 );
 
 $key = md5( $args );
 $group = 'tweets';
 
 $tweets = wp_cache_get( $key, $group );
 
 if ( false === $tweets ) {
 $tweets = get_tweets( $args );
 wp_cache_set( $key, $tweets, $group, 600 );
 }