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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
WordPress Greek Community
PRO
November 19, 2016
Programming
660
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
42
Orestis Samaras - Modern WordPress Development with Composer
wpgr
PRO
0
29
Eleni Tsertou - Ταχύτερο website με Persistent Object Cache: Μύθος ή Αλήθεια;
wpgr
PRO
0
34
George Korakas - WordPress Security 2025: From Real Threats to Practical Defenses
wpgr
PRO
0
41
Δημήτρης Καρβούνης - Πέρα από το Admin Panel: Πώς να μιλήσεις στο WordPress σαν Developer μέσω REST API
wpgr
PRO
0
28
Αναστασία Αδαμούδη - Δημιουργία σύνθετου μενού πλοήγησης σε block θέματα
wpgr
PRO
0
20
Νίκος Μαυράκης - Κοστολογώντας τη δημιουργικότητα
wpgr
PRO
0
39
Jovana Smoljanovic Tucakov - AI vs. Human Content: What Works, What Backfires, and What’s Next
wpgr
PRO
0
38
Λεωνίδας Μηλώσης - Optimize – optimize – optimize: Caring for performance of your WordPress plugin or website
wpgr
PRO
0
30
Other Decks in Programming
See All in Programming
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
550
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
110
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.3k
Agentic UI
manfredsteyer
PRO
0
190
エージェンティックRAGにAWSで入門しよう!
har1101
9
1.7k
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
120
1B+ /day規模のログを管理する技術
broadleaf
0
100
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
210
The NotImplementedError Problem in Ruby
koic
1
880
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
120
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.2k
Contextとはなにか
chiroruxx
1
360
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
How STYLIGHT went responsive
nonsquared
100
6.2k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
270
Evolving SEO for Evolving Search Engines
ryanjones
0
220
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
200
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Design in an AI World
tapps
1
250
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Balancing Empowerment & Direction
lara
6
1.2k
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?