WordCamp Singapore: Offloading Calculations from WordPress onto Outer Services, such as AWS and Google.

WordCamp Singapore: Offloading Calculations from WordPress onto Outer Services, such as AWS and Google.

Let's not let WordPress do what it's not made for :D

567e1272bd038860f64c3c1c8dd5dfdb?s=128

Shinichi Nishikawa

September 06, 2016
Tweet

Transcript

  1. Offloading Calculations from WordPress onto Outer Services, such as AWS

    and Google.
  2. Shinichi Nishikawa Who am I ?

  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. High traffic websites, Spiky access, and WordPress.

  10. Transient Frontend optimization WordPress optimization Object caching CDN Server configurations

    Querying things right Image optimization
  11. Things to offload. • Searching • Sorting • Showing related

    posts or products • Recommending based on users’ preference • Logging lots of data such as access log, security log • Backing up itself
  12. Plugins which works by themselves WordPress Core Plugin Plugin Plugin

    Plugin One big process.
  13. Offloading model WordPress Core Connector plugin Connector plugin Connector plugin

    Connector plugin WordPress doesn’t work too much. API API API API Micro Service Micro Service Micro Service Micro Service
  14. None
  15. Offload Ranking, popular posts

  16. Rankings, popular posts • top 3 most viewed posts •

    within 7 days • in a category “Javascript” • under /en/ path
  17. Simple GA Ranking author: @horike

  18. more on http://simple-ga-ranking.org/.

  19. Offload Search, related posts

  20. Related posts and/or products • Want to look up the

    full text of an article and look for a really related posts. • Needs to look up the taxonomy terms and post meta. • Don’t need to have the perfectly matched words. • Rate the posts with frequency rate of the related words appearance. • Search products by price range ($5~$10)
  21. ElasticPress authors: 10up

  22. Elasticommerce Related Items authors: @horike, @hideokamoto and more

  23. Elasticommerce Search Form authors: @horike, @hideokamoto and more

  24. WP Simple Elasticsearch authors: @horike, @hideokamoto and more

  25. http://ecdemo.amimoto-ami.com/product-category/sample?orderby=menu_order

  26. Offload caching

  27. Cache on CDN

  28. C3 Cloudfront Cache Controller authors: @hideokamoto, and others

  29. Backups, storage, and more.

  30. None
  31. WordPress centric model WordPress Core Connector plugin Connector plugin Connector

    plugin Connector plugin WordPress doesn’t work too much. API API API API Micro Service Micro Service Micro Service Micro Service
  32. Microservices • system of multiple components • Components works independently,

    too • loosely coupled through RESTful API
  33. Distributed services model

  34. Thank you.