EDMUND TURBIN, Solutions Engineer
WP Engine |
Scalability
EDMUND TURBIN, Solutions Engineer
i. Introduction
ii. Customer Profiles
iii. How We Scale WooCommerce
iv. Q & A
v. Resources

TODAY’S AGENDA
EDMUND TURBIN, Solutions Engineer
‣ Founded in 2010
‣ Headquarters in Austin, Tx
‣ Over 30,000 customers
‣ 300,000+ active WP installs
‣ Staff of 300+ WordPress Experts
WP ENGINE: COMPANY STATS
EDMUND TURBIN, Solutions Engineer
INTRODUCTION
Edmund Turbin
Solutions Engineer
@spicecadet
edmund.turbin@wpengine.com
edmund.wpengine.com
email:
twitter:
blog:
Front end web developer
10+ years working with CMS
Media, publishing, advertising industries
Music production, sports, coding
EDMUND TURBIN, Solutions Engineer
★ Over 7 Million downloads
★ Over 1 Million sites using WooCommerce
★ WooCommerce is powering 30% of all online stores
★ Over 10,000WooCommerce installs on WP Engine
WOOCOMMERCE MARKET SHARE AND SUCCESS
EDMUND TURBIN, Solutions Engineer
Customer Profiles
EDMUND TURBIN, Solutions Engineer
EDMUND TURBIN, Solutions Engineer
Global Cosmetics eCommerce site
Millions of visitors around the world
Scalable Enterprise solution - clusters
Hundreds of products
Hundreds of thousands of orders
High amount of concurrent visits during promotions
EDMUND TURBIN, Solutions Engineer
EDMUND TURBIN, Solutions Engineer
Home of WooCommerce, Trusted on WP Engine
Millions of monthly visitors
Enterprise cluster
EDMUND TURBIN, Solutions Engineer
How We Scale WooCommerce
EDMUND TURBIN, Solutions Engineer
TECHNICAL OVERVIEW
Scalability
EDMUND TURBIN, Solutions Engineer
TECHNICAL OVERVIEW
Caching
EDMUND TURBIN, Solutions Engineer
Speedy Delivery
TECHNICAL OVERVIEW
CDN for large amounts of static content
Essential to speed up global eCommerce sites
Content delivered from location close to user
EDMUND TURBIN, Solutions Engineer
TECHNICAL OVERVIEW
Use Minification plugin for JS and CSS
EDMUND TURBIN, Solutions Engineer
Image Optimization
TECHNICAL OVERVIEW
Use Image Optimization plugins
EDMUND TURBIN, Solutions Engineer
Cache Exclusion
TECHNICAL OVERVIEW
Cache ability is key to optimizing speed
Exclusions keep dynamic pages uncached
Directories, Cart exclusion
Can be used for custom directories, pages
Cart, My Profile, Checkout
Logged in users are not cached
AJAX requests
EDMUND TURBIN, Solutions Engineer
Efficient Caching
TECHNICAL OVERVIEW
Pages cached until item added to cart
Cart can’t be cached
Only a session where items left in cart are cached
EDMUND TURBIN, Solutions Engineer
Performance Tweaks
TECHNICAL OVERVIEW
Keep Queries simple
Enable Object Caching
Offer a way to checkout without the need to login
Remove cart from unnecessary pages
Optimize your database
EDMUND TURBIN, Solutions Engineer
Database Optimization
TECHNICAL OVERVIEW
MyISAM tables should be changed to InnoDB
Daily script checks table format:
wp_options, wp_posts, wp_comments
Default for MySQL is InnoDB (ver 5.5+)
Locking for MyISAM is on a table level
transactions not possible
Locking for InnoDB is on a row level
capable of transactions
EDMUND TURBIN, Solutions Engineer
Scaling Up
TECHNICAL OVERVIEW
Front and back end optimization
Type of traffic determines cacheability
Product variations decrease performance
Many variations = large complex queries
Better Performance
Less variations
Pagination
EDMUND TURBIN, Solutions Engineer
Tips for Speed
TECHNICAL OVERVIEW
WooCommerce will only run as fast as the theme works
Load scripts and styles only in shop
Use a Woo-ready theme
Find experienced WooCommerce dev
Don’t show your cart on every page
Follow WooCommerce best practices
EDMUND TURBIN, Solutions Engineer
Q&A
EDMUND TURBIN, Solutions Engineer
Resources
EDMUND TURBIN, Solutions Engineer
‣ WP Smush-IT
‣ EEEW Image Optimizer Cloud
Image Compression Plugins
Links - Front End Optimization
‣ Better WordPress Minify
‣ Autoptimize
Minification
EDMUND TURBIN, Solutions Engineer
‣ How to Load WooCommerce Scripts and Styles Only in Shop
‣ WooCommerce Best Practices
‣ WooCommerce Themes
‣ Large Number of Product Variations
‣ WooCommerce Dominates Global eCommmerce Platforms
Woo Commerce
Links - WooCommerce
EDMUND TURBIN, Solutions Engineer
‣ EverCache
‣ eCommerce Support Recommendations
WP Engine
Links - WooCommerce
Security
‣ Do I need an SSL Certificate for my Site?
EDMUND TURBIN, Solutions Engineer
‣ Simple to get
‣ Many vendors and levels of certification
‣ EV cert will turn your address bar green
‣ Customers Trust SSL
‣ Improve Conversion Rate
‣ Google - Slight SEO Benefit
SSL
TECHNICAL OVERVIEW
EDMUND TURBIN, Solutions Engineer
‣ Security spec around payment industry
‣ WP Engine platform not PCI
‣ Your site still can be
‣ Data centers are PCI compliant
‣ Can use payment gateway for processing
‣ PayPal Payments, etc.
‣ As long as transaction data is not stored on your site
PCI Compliance
TECHNICAL OVERVIEW

Woo commerce scalability notes

  • 1.
    EDMUND TURBIN, SolutionsEngineer WP Engine | Scalability
  • 2.
    EDMUND TURBIN, SolutionsEngineer i. Introduction ii. Customer Profiles iii. How We Scale WooCommerce iv. Q & A v. Resources
 TODAY’S AGENDA
  • 3.
    EDMUND TURBIN, SolutionsEngineer ‣ Founded in 2010 ‣ Headquarters in Austin, Tx ‣ Over 30,000 customers ‣ 300,000+ active WP installs ‣ Staff of 300+ WordPress Experts WP ENGINE: COMPANY STATS
  • 4.
    EDMUND TURBIN, SolutionsEngineer INTRODUCTION Edmund Turbin Solutions Engineer @spicecadet edmund.turbin@wpengine.com edmund.wpengine.com email: twitter: blog: Front end web developer 10+ years working with CMS Media, publishing, advertising industries Music production, sports, coding
  • 5.
    EDMUND TURBIN, SolutionsEngineer ★ Over 7 Million downloads ★ Over 1 Million sites using WooCommerce ★ WooCommerce is powering 30% of all online stores ★ Over 10,000WooCommerce installs on WP Engine WOOCOMMERCE MARKET SHARE AND SUCCESS
  • 6.
    EDMUND TURBIN, SolutionsEngineer Customer Profiles
  • 7.
  • 8.
    EDMUND TURBIN, SolutionsEngineer Global Cosmetics eCommerce site Millions of visitors around the world Scalable Enterprise solution - clusters Hundreds of products Hundreds of thousands of orders High amount of concurrent visits during promotions
  • 9.
  • 10.
    EDMUND TURBIN, SolutionsEngineer Home of WooCommerce, Trusted on WP Engine Millions of monthly visitors Enterprise cluster
  • 11.
    EDMUND TURBIN, SolutionsEngineer How We Scale WooCommerce
  • 12.
    EDMUND TURBIN, SolutionsEngineer TECHNICAL OVERVIEW Scalability
  • 13.
    EDMUND TURBIN, SolutionsEngineer TECHNICAL OVERVIEW Caching
  • 14.
    EDMUND TURBIN, SolutionsEngineer Speedy Delivery TECHNICAL OVERVIEW CDN for large amounts of static content Essential to speed up global eCommerce sites Content delivered from location close to user
  • 15.
    EDMUND TURBIN, SolutionsEngineer TECHNICAL OVERVIEW Use Minification plugin for JS and CSS
  • 16.
    EDMUND TURBIN, SolutionsEngineer Image Optimization TECHNICAL OVERVIEW Use Image Optimization plugins
  • 17.
    EDMUND TURBIN, SolutionsEngineer Cache Exclusion TECHNICAL OVERVIEW Cache ability is key to optimizing speed Exclusions keep dynamic pages uncached Directories, Cart exclusion Can be used for custom directories, pages Cart, My Profile, Checkout Logged in users are not cached AJAX requests
  • 18.
    EDMUND TURBIN, SolutionsEngineer Efficient Caching TECHNICAL OVERVIEW Pages cached until item added to cart Cart can’t be cached Only a session where items left in cart are cached
  • 19.
    EDMUND TURBIN, SolutionsEngineer Performance Tweaks TECHNICAL OVERVIEW Keep Queries simple Enable Object Caching Offer a way to checkout without the need to login Remove cart from unnecessary pages Optimize your database
  • 20.
    EDMUND TURBIN, SolutionsEngineer Database Optimization TECHNICAL OVERVIEW MyISAM tables should be changed to InnoDB Daily script checks table format: wp_options, wp_posts, wp_comments Default for MySQL is InnoDB (ver 5.5+) Locking for MyISAM is on a table level transactions not possible Locking for InnoDB is on a row level capable of transactions
  • 21.
    EDMUND TURBIN, SolutionsEngineer Scaling Up TECHNICAL OVERVIEW Front and back end optimization Type of traffic determines cacheability Product variations decrease performance Many variations = large complex queries Better Performance Less variations Pagination
  • 22.
    EDMUND TURBIN, SolutionsEngineer Tips for Speed TECHNICAL OVERVIEW WooCommerce will only run as fast as the theme works Load scripts and styles only in shop Use a Woo-ready theme Find experienced WooCommerce dev Don’t show your cart on every page Follow WooCommerce best practices
  • 23.
  • 24.
    EDMUND TURBIN, SolutionsEngineer Resources
  • 25.
    EDMUND TURBIN, SolutionsEngineer ‣ WP Smush-IT ‣ EEEW Image Optimizer Cloud Image Compression Plugins Links - Front End Optimization ‣ Better WordPress Minify ‣ Autoptimize Minification
  • 26.
    EDMUND TURBIN, SolutionsEngineer ‣ How to Load WooCommerce Scripts and Styles Only in Shop ‣ WooCommerce Best Practices ‣ WooCommerce Themes ‣ Large Number of Product Variations ‣ WooCommerce Dominates Global eCommmerce Platforms Woo Commerce Links - WooCommerce
  • 27.
    EDMUND TURBIN, SolutionsEngineer ‣ EverCache ‣ eCommerce Support Recommendations WP Engine Links - WooCommerce Security ‣ Do I need an SSL Certificate for my Site?
  • 28.
    EDMUND TURBIN, SolutionsEngineer ‣ Simple to get ‣ Many vendors and levels of certification ‣ EV cert will turn your address bar green ‣ Customers Trust SSL ‣ Improve Conversion Rate ‣ Google - Slight SEO Benefit SSL TECHNICAL OVERVIEW
  • 29.
    EDMUND TURBIN, SolutionsEngineer ‣ Security spec around payment industry ‣ WP Engine platform not PCI ‣ Your site still can be ‣ Data centers are PCI compliant ‣ Can use payment gateway for processing ‣ PayPal Payments, etc. ‣ As long as transaction data is not stored on your site PCI Compliance TECHNICAL OVERVIEW