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
Scaling Vendure with Nx
Search
Miroslav Jonaš
December 09, 2023
Programming
0
150
Scaling Vendure with Nx
Miroslav Jonaš
December 09, 2023
Tweet
Share
More Decks by Miroslav Jonaš
See All by Miroslav Jonaš
The dark art of code optimization
meeroslav
0
33
Drum 'n' JS
meeroslav
0
45
Monorepo demystified: Breaking the myth
meeroslav
0
32
Making the Argument for Monorepos
meeroslav
0
29
Don't let compilation set the length of your Glühwein break
meeroslav
0
82
Vanquishing deployment dragons with Nx wizardry
meeroslav
0
210
Don't let compilation set the length of your coffee break
meeroslav
0
120
The other JavaScript performance (no one is talking about)
meeroslav
0
280
Age of monorepos (NgDe)
meeroslav
0
230
Other Decks in Programming
See All in Programming
Implementation Patterns
denyspoltorak
0
230
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
150
SQL Server 2025 LT
odashinsuke
0
190
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.5k
CSC307 Lecture 05
javiergs
PRO
0
480
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
190
CSC307 Lecture 03
javiergs
PRO
1
480
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.6k
高速開発のためのコード整理術
sutetotanuki
1
280
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
650
組織で育むオブザーバビリティ
ryota_hnk
0
120
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
670
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
260
Prompt Engineering for Job Search
mfonobong
0
150
Ethics towards AI in product and experience design
skipperchong
2
180
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Raft: Consensus for Rubyists
vanstee
141
7.3k
How Software Deployment tools have changed in the past 20 years
geshan
0
31k
Un-Boring Meetings
codingconduct
0
180
Documentation Writing (for coders)
carmenintech
77
5.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
140
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Transcript
Vendure Developer Day / December 9th 2023 Miroslav Jonaš /
@meeroslav Scaling with
None
Final boss
Final boss of web development
Final boss of web development
Final boss of web development
Small webshop Large enterprise corporation Day 1 After 1 year
None
None
Small webshop Large enterprise corporation Day 1 After 1 year
Small webshop Large enterprise corporation Day 1 After 1 year
Miroslav Jonaš @meeroslav
Storefront (framework X) Every large application* UI Components
/ Design system Vendure server Plugin 1 Plugin 2 Plugin 3 Plugin 4 Plugin 5 Plugin 6 Plugin 7
Storefront (framework X) Vendure server Every large application* UI
Components / Design system Plugin 1 Plugin 2 Plugin 3 Plugin 4 Plugin 5 Plugin 6 Plugin 7 Admin UI Mobile App Utility v1 v3 v2_beta v1.0.1 ~2.15.0 > 3.0.0
None
Collocate Storefront (framework X) Vendure server UI Components
/ Design system Plugin 1 Plugin 2 Plugin 3 Plugin 4 Plugin 5 Plugin 6 Plugin 7 Admin UI Mobile App Utility
Code sharing Storefront Admin UI Auth
Affected graph admin store api
Affected graph + deploy admin store api
admin store api Deploy every second week Deploy on Tuesdays
Deploy on every change Affected graph + deploy
Workspace analysis
Task orchestration Test Build Lint Build Lint Test Build Lint
Test
Caching Never { build, test, lint… } same code twice
{ build, test, lint,... } Nx Local cache { build, test, lint,... } Nx Local cache CI provider
Distributed task execution Main agent
Distributed task execution Idle time Idle time
Distributed task execution
Distributed task execution Instant replay from cache
Distributed task execution
Distributed task execution
Code constraints
Code constraints store checkout sales coupons core shared admin
But I have just a small shop…
> npx @vendure/create my-store
Imagine… > npx create-nx-workspace my-store --preset=@vendure/nx
But then… > nx g @vendure/nx:storefront my-web --framework=qwik
Or… > nx g @vendure/nx:plugin my-plugin
How about… > nx g @vendure/nx:convert-database my-store -d mssql
No more updateophobia… > nx g migrate @vendure/nx@latest
Full IDE support
2024
Ask not what Vendure can do for you - ask
what you can do for Vendure
Vendure Developer Day / December 9th 2023 Miroslav Jonaš /
@meeroslav Thank you! +