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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
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
180
Node.js in the Enterprise
dshaw
7
9.9k
Moving Node.js Forward
dshaw
1
800
How Node.js Is Changing Engineering
dshaw
0
160
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
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
220
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
110
AIエージェント統制はAPIから——押さえるべき5つの要素
nagix
0
120
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
210
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
150
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
3
1.6k
生き様としてのSRE
hokkai7go
1
170
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
140
AI時代に求められる優秀なTechLeadの振る舞い
pospome
10
14k
Sinatra on PicoRuby ローカルでセルフホスト
bash0c7
0
100
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7.3k
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
0
350
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.4k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Done Done
chrislema
187
17k
Docker and Python
trallard
47
4.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
660
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Statistics for Hackers
jakevdp
799
230k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Transcript
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