Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Antonis Zachopoulos - Scaling WooCommerce - Wor...
Search
WordPress Greek Community
PRO
November 19, 2016
Programming
690
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
Transcript
31 slides
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?
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
65
Orestis Samaras - Modern WordPress Development with Composer
wpgr
PRO
0
55
Eleni Tsertou - Ταχύτερο website με Persistent Object Cache: Μύθος ή Αλήθεια;
wpgr
PRO
0
50
George Korakas - WordPress Security 2025: From Real Threats to Practical Defenses
wpgr
PRO
0
68
Δημήτρης Καρβούνης - Πέρα από το Admin Panel: Πώς να μιλήσεις στο WordPress σαν Developer μέσω REST API
wpgr
PRO
0
51
Αναστασία Αδαμούδη - Δημιουργία σύνθετου μενού πλοήγησης σε block θέματα
wpgr
PRO
0
31
Νίκος Μαυράκης - Κοστολογώντας τη δημιουργικότητα
wpgr
PRO
0
63
Jovana Smoljanovic Tucakov - AI vs. Human Content: What Works, What Backfires, and What’s Next
wpgr
PRO
0
79
Λεωνίδας Μηλώσης - Optimize – optimize – optimize: Caring for performance of your WordPress plugin or website
wpgr
PRO
0
54
Other Decks in Programming
See All in Programming
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
660
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
950
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
250
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
500
マルチプロダクトSaaSの アプリ一覧を速くする——複数プロダクトにまたがる「権限行脚」を減らすまで #techramen26conf
mktakuya
1
230
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
440
Distance field of Julia set
kinakomoti321
0
330
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
340
Spec-driven Development with AI
simas
PRO
0
2.3k
Skills Are the New npm [AAIF Bengaluru, Nov 2026]
shivamsaraswat
0
130
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
410
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
440
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Evolving SEO for Evolving Search Engines
ryanjones
0
370
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
360
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
650
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
560
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
320
New Earth Scene 8
popppiees
5
2.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k