Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Antonis Zachopoulos - Scaling WooCommerce - Wor...
Search
WordPress Greek Community
PRO
November 19, 2016
Programming
670
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Antonis Zachopoulos - Scaling WooCommerce - WordCamp Athens 2016
WordPress Greek Community
PRO
November 19, 2016
More Decks by WordPress Greek Community
See All by WordPress Greek Community
Filippos Karailanidis - Beyond ChatGPT: AI Toolkit for the WordPress Developer
wpgr
PRO
0
49
Orestis Samaras - Modern WordPress Development with Composer
wpgr
PRO
0
34
Eleni Tsertou - Ταχύτερο website με Persistent Object Cache: Μύθος ή Αλήθεια;
wpgr
PRO
0
37
George Korakas - WordPress Security 2025: From Real Threats to Practical Defenses
wpgr
PRO
0
46
Δημήτρης Καρβούνης - Πέρα από το Admin Panel: Πώς να μιλήσεις στο WordPress σαν Developer μέσω REST API
wpgr
PRO
0
30
Αναστασία Αδαμούδη - Δημιουργία σύνθετου μενού πλοήγησης σε block θέματα
wpgr
PRO
0
23
Νίκος Μαυράκης - Κοστολογώντας τη δημιουργικότητα
wpgr
PRO
0
46
Jovana Smoljanovic Tucakov - AI vs. Human Content: What Works, What Backfires, and What’s Next
wpgr
PRO
0
45
Λεωνίδας Μηλώσης - Optimize – optimize – optimize: Caring for performance of your WordPress plugin or website
wpgr
PRO
0
36
Other Decks in Programming
See All in Programming
AIが無かった頃の素敵な出会いの話
codmoninc
1
400
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
110
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
プロポーザルを書いてもらう
pvcresin
0
300
the container ship “Apple Silicon”@WWDC26 Recap -Japan-\(region).swift
shingangan
0
120
Android CLI
fornewid
0
220
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
470
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
360
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
370
FDEが実現するAI駆動経営の現在地
gonta
2
280
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
250
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
240
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
The Spectacular Lies of Maps
axbom
PRO
1
900
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
450
Building AI with AI
inesmontani
PRO
1
1.1k
The Language of Interfaces
destraynor
162
27k
Automating Front-end Workflow
addyosmani
1369
210k
Code Review Best Practice
trishagee
74
20k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Product Roadmaps are Hard
iamctodd
55
12k
Transcript
Scaling WooCommerce Challenges, Solutions, Bottlenecks Antonis Zachopoulos Web Developer @
Nevma
Scaling WooCommerce - WordCamp Athens 2016 The Case Book publishing
& trading company Vast amount of data Sync from remote ERP software
Scaling WooCommerce - WordCamp Athens 2016 The Case
Scaling WooCommerce - WordCamp Athens 2016 The Challenges Data model
differences The sheer numbers 100.000+ products (posts) 2.500+ product categories (taxonomy terms) 35.000+ authors (product attribute values, a.k.a. taxonomy terms) Synchronization must complete overnight E-shops must remain responsive to user-actions Stick to native WordPress/WooCommerce
Scaling WooCommerce - WordCamp Athens 2016 The General Principles
Scaling WooCommerce - WordCamp Athens 2016 Mark Your Progress Why
iterate all items daily? Use timestamps! Assume full catalog updates are rare.
Scaling WooCommerce - WordCamp Athens 2016 Divide & Conquer Batches
are your friend! Minimize loss in case of a failure Resume capability
Scaling WooCommerce - WordCamp Athens 2016 KISS Principle Need a
web server for syncing? No data to present Why worry about server limits? Run PHP via CLI instead Spawn WordPress yourself
Scaling WooCommerce - WordCamp Athens 2016 The Hidden Obstacles
Scaling WooCommerce - WordCamp Athens 2016 Querying by meta_value
Scaling WooCommerce - WordCamp Athens 2016 Querying by meta_value
Scaling WooCommerce - WordCamp Athens 2016 Querying by meta_value “-Um,
maybe you’re overreacting?” 100.000 products * 0.26 sec = ~7 hours (and no actual work done yet...)
Scaling WooCommerce - WordCamp Athens 2016 Querying by meta_value
Scaling WooCommerce - WordCamp Athens 2016 Querying by meta_value
Scaling WooCommerce - WordCamp Athens 2016 Querying by meta_value “-Cool!
And will that cut it?” 100.000 products * 0.0004 sec = ~40 sec (and still got plenty of time left!)
Scaling WooCommerce - WordCamp Athens 2016 The Object Cache The
what?
None
None
Scaling WooCommerce - WordCamp Athens 2016 The Object Cache Bulk
imports: not the typical case Maintaining the cache: cost for no gain! Time Memory Can be suspended!
Scaling WooCommerce - WordCamp Athens 2016 The Object Cache
Scaling WooCommerce - WordCamp Athens 2016 The Object Cache Object
Cache active: ~3 sec Object Cache suspended: ~0.05 sec Time reduced more than 90%!
Scaling WooCommerce - WordCamp Athens 2016 Term counting WordPress counts
term assignment to posts Products === Posts Categories / Attribute values === Terms Recalculated on every assignment
Scaling WooCommerce - WordCamp Athens 2016 Taking it all to
the front-end
Scaling WooCommerce - WordCamp Athens 2016 The “Shop” page Useful
for user navigation? Consider listing top-level categories instead
Scaling WooCommerce - WordCamp Athens 2016 Product filters Displaying 1.000s
of values – A Utopia Use with caution on high-level lists A cross-platform issue Need to think smarter!
Scaling WooCommerce - WordCamp Athens 2016 Product categories widget Can't
do without it Beware of the listing depth though!
Scaling WooCommerce - WordCamp Athens 2016 The right DB engine
InnoDB VS MyISAM Faster joins
Scaling WooCommerce - WordCamp Athens 2016 Some aces up sleeve
Use output compression (Content-Encoding: gzip) Cache like the wind! Varnish Caching plugin MySQL query caching
Scaling WooCommerce - WordCamp Athens 2016 Wrapping it up 100.000+
products (posts) 2.500+ product categories (taxonomy terms) 35.000+ authors (product attribute values, a.k.a. taxonomy terms) Is it feasible?
Scaling WooCommerce - WordCamp Athens 2016 Wrapping it up Plan
in advance Code with efficiency in mind Love your infrastructure Think out of the box And have the courage to deal with the unforeseen!
Scaling WooCommerce - WordCamp Athens 2016 Fin! Thanks for watching!
Questions?