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
The Shape of Node Architectures at Scale
Search
Dan Shaw
February 27, 2013
Technology
270
1
Share
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
81
How NodeSource Uses Docker
dshaw
1
160
Node.js in the Enterprise
dshaw
7
9.8k
Moving Node.js Forward
dshaw
1
780
How Node.js Is Changing Engineering
dshaw
0
150
Node.js Now
dshaw
13
7.5k
SFHTML5 Node.js Now
dshaw
0
160
Effective Node.js Architectures
dshaw
0
280
Effective Node.js Architectures
dshaw
1
470
Other Decks in Technology
See All in Technology
layerx-fde-practices
cipepser
5
1.8k
社内RAGの導入で気を付けたポイント
yakumo
1
150
AIコーディングエージェントの活用で、コードは静かに肥大化した
yosukeshinoda
1
190
CARTA HOLDINGS エンジニア向け 採用ピッチ資料 / CARTA-GUIDE-for-Engineers
carta_engineering
0
47k
A Harness for Behaviour: how to get AI to generate code that does what we intend, or "TDD in the age of AI"
xpmatteo
0
100
Cortex(Code) を ML モデルの 精度改善サイクルに組み込む.pdf
oimo23
0
260
Agentic AI時代における メルカリのAIガバナンスとガードレール実装
naoichihara
8
7.2k
最新技術を"今は選ばない"という技術選定
leveragestech
PRO
0
380
AI時代に改めて考える、ドメイン駆動設計 - モデリングが「AIへの共通言語」になる
littlehands
5
1.1k
ANDPAD Ruby sponsor session in RubyKaigi 2026
andpad
0
120
データ分析基盤の信頼を支える視点と設計
yuki_saito
1
560
SDDで⾒える、AIコーディングの"内訳"
lycorptech_jp
PRO
0
290
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
300
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
My Coaching Mixtape
mlcsv
0
130
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
340
The Curse of the Amulet
leimatthew05
1
12k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
450
Paper Plane (Part 1)
katiecoart
PRO
0
7.7k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
510
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
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