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
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
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
11
6.1k
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
670
エージェンティックRAGにAWSで入門しよう!
har1101
9
1.7k
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
110
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
180
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
160
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
260
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
270
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
さぁV100、メモリをお食べ・・・
nilpe
0
150
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
380
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
870
Git: the NoSQL Database
bkeepers
PRO
432
67k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
430
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
HDC tutorial
michielstock
2
720
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
590
So, you think you're a good person
axbom
PRO
2
2.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Un-Boring Meetings
codingconduct
0
320
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?