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
The Shape of Node Architectures at Scale
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Dan Shaw
February 27, 2013
Technology
280
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Shape of Node Architectures at Scale
Talk given to London Node Users Group. #LNUG
Dan Shaw
February 27, 2013
Transcript
30 slides
The Shape of Node Architectures at Scale
Daniel D. Shaw @dshaw
I like to build things with Node
Build Node Things • Storify • Spreecast • Node Knockout
• Voxer • The Node Firm
Do Less Well
FP for Distributed Architectures
What do I do? - your processes
Evolutionary Shapes • ALL THE THINGS! • Generalization • Specialization
• One Thing
ALL THE THINGS Mixture
ALL THE THINGS Easy to run, multi-process, single execution point.
Generalization Not all apps need to aspire to be the
next Facebook.
Scale Will you really need it?
Building and Planning Node.js application
Generalization • Express + Socket.io + API • Website +
API • Restify
Am I doing too much?
Trade-offs
Trade-offs • Expensive loads limit conjoined services. • Impact of
exceptions and crashes. • Deployment complexity. • Deployment isolation. • Evolve services independently.
Dumb Clusters Simple Pooling
Dumb Cluster • Static file server • Simple web sites
• Minimal client/server • API server hosts
Pooling Tools • Round Robin DNS • Varnish • Nginx
• HAProxy • ...more node
Pooling Tools • Substack - seaport, etc • Nodejitsu -
node-http-proxy • Poolee - battle tested at Voxer
Distribute Load Data store(s) have the definitive answers
Smarter Clusters Session Affinity
Sticky Sessions
Smart Clusters (Consistent Hash Rings)
Why? Complex interactions or data persistence
Properties of Consistent Hash Rings • Deterministic • Change has
minimal impact on determinism • Crunchy middle?
House of Pain Complexity
Right for the Task As simple as possible
Thank You! <3 dshaw
More Decks by Dan Shaw
See All by Dan Shaw
Node.js and the Web Platform
dshaw
0
110
How NodeSource Uses Docker
dshaw
1
190
Node.js in the Enterprise
dshaw
7
9.9k
Moving Node.js Forward
dshaw
1
800
How Node.js Is Changing Engineering
dshaw
0
170
Node.js Now
dshaw
13
7.6k
SFHTML5 Node.js Now
dshaw
0
170
Effective Node.js Architectures
dshaw
0
300
Effective Node.js Architectures
dshaw
1
490
Other Decks in Technology
See All in Technology
cdkdがどんだけ早いか、実際に動かして見てみよう
smt7174
1
120
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
1
420
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
220
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
230
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
1
200
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
240
Datadog の権限統制 〜Org 統合に向けて調べた注意点 / JDDUG-Meetup_24
visional_engineering_and_design
1
180
人間+AIを「チーム」としてプロセスを再設計する
littlehands
4
3.4k
IoTのデータ保存をSREの観点で考える
grimoh
1
110
マネジメントされる側の仕事は「文句」を言うこと
riyaamemiya
7
5.7k
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
290
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
170
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
390
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Done Done
chrislema
187
17k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Discover your Explorer Soul
emna__ayadi
2
1.3k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Accessibility Awareness
sabderemane
1
300
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
480
The untapped power of vector embeddings
frankvandijk
2
2k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
310