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

High Performance Server Setup for Joomla! websites (JoomlaDay Greece 2012)

High Performance Server Setup for Joomla! websites (JoomlaDay Greece 2012)

If you never dealt with your server's performance, now's the time to do so. Forget cPanel or Plesk control panels, if you want "high performance" you need to get your hands dirty...

Fotis Evangelou

June 02, 2012
Tweet

More Decks by Fotis Evangelou

Other Decks in Technology

Transcript

  1. Advanced Setups • Percona Server (enhanced MySQL distro) • Cloud

    DB (Amazon RDS, Xeround κλπ.) • Load Balancer + Application Servers + Shared Storage + DB Server Or go pro... • Database Clustering/Sharding • NoSQL database usage (MongoDB, Couchbase, Redis, Amazon Simple DB, Azure Table Storage, κλπ.) • "MySQL Cluster" (min. 3 servers)
  2. Take note... • Nginx - Compress static assets (CSS, JS

    etc.) including fonts but NOT images! - Set "expires headers" for static assets (CSS, JS, fonts, images etc.) • Varnish - Cut off session cookies - Joomla!'s big PITA • MySQL - Enable query caching - Use my example my.cnf file: https://snipt.net/fevangelou/optimised-mycnf-configuration/ • PHP5-FPM - Tweak process limits, restart via cron in some cases
  3. Europe Leaseweb, SnelServer, Hetzner, EuroVPS US Softlayer, ServInt, ServerBeach, Rackspace,

    WiredTree (all - managed), Linode (VPS) Cheap VPS Leaseweb (NL), Hetzner (DE), vpscolo.com (Solar VPS/US), Fanatical VPS (US), vooservers.com (UK), 6sync.com (US/NZ - small team, promising!)
  4. Simple Testing • Google PageSpeed Reports • Pingdom Tools •

    Just Ping • Zoompf • Loads.in • SlowCop
  5. Load Testing • Apache Benchmark (A/B) - free! • Blitz.io

    • BrowserMob.com • LoadImpact.com • LoadStorm.com • WebMetrics.com