The slides for my talk at World Hosting Days 2014 in Rust, Germany. An overview of technologies you should use to boost Drupal performance.
freistil ITBuilding high-traffic websiteswith DrupalMarkus Heurung
View Slide
Markus Heurung@muhhDrupal Developer, Linux Sysadmin, Trainer,IT ManagerCo-Founder of freistil IT
What’s high traffic?anonymous vs. authenticatedstatic vs. generated
Overview of layersto optimiseBrowser WebserverPHP FilesystemDrupal Database
Static filesBrowserApacheFilesystem
Tuning LinuxFast disksFile system cacheFile system layout
Tuning ApacheMaxClients & Co.KeepAliveScaling outnew complexities:network filesystemdeployment
DrupalBrowserApacheFile System MySQLPHP
Tuning PHPGet many CPU coresUse an opcode cache (APC)Check apc.php128-256 MB
DrupalDatabase for almost everything.ContentConfigurationContent queries and layoutCachesWatchdog (logs)
Configure DrupalCompressionCSS & JS aggregationCachingWatchdog into syslog into logstash
Choose yourmodules wisely!
Optimise yourdatabase queriesgenerated by views
Tuning MySQLDisk I/OInnoDBBuffers (caches, temp tables)
use less DB
Caching↓memcached
Search andcontent collections↓Apache Solr
Content↓MongoDB
BrowserApacheFile SystemPHP - DrupalMySQL memcached Solr MongoDBAPC
Varnish
GoalVarnishApacheBrowser
Drupal configuration
Tuning VarnishModules: Purge, Expire, Rules VarnishOptimise VCL logic
https://www.flickr.com/photos/kimberlykv/5061421858
monitor & measuremeasure your settingsmonitor your usageapply insights to your setuprinse & repeat
Thanks!Questions?![email protected]