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
Deploying node applications at scale
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
shikharkapoor
December 01, 2016
Technology
37
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deploying node applications at scale
shikharkapoor
December 01, 2016
Other Decks in Technology
See All in Technology
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
770
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
150
Local CI × GitHub Actions
gogutan
2
190
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
230
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
Rust で関数型ドメインモデリング
takonda
0
140
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
860
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
How to Talk to Developers About Accessibility
jct
2
580
Ruling the World: When Life Gets Gamed
codingconduct
0
400
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Chasing Engaging Ingredients in Design
codingconduct
0
360
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Are puppies a ranking factor?
jonoalderson
2
4.1k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Transcript
Deploying Node applications at scale Shikhar Kapoor (@kapoorshikhar) UI Engineer
@ Flipkart
A modern front-end engineers job Webpack React Redux Gulp Node
Angular Express GraphQL NPM MongoDB Grunt Jest Mocha
• Branching Strategies • Continuous Integration • Accelerating build times
• Packaging • Deployments • Monitoring • Testing
Branching strategies • Decide upfront and enforce them. • Master
is sacred! • Feature flags are your friends.
Mainline/Master Future Feature1 Feature2 Feature3 Long release cycles
Shorter but fixed release cycles Mainline/Master Release - week 1
Fix Feature Fix Release - week 2 Feature Feature Fix
Short cycles/ Daily deployments Mainline/Master Fix Feature 1 * Fix
Feature1 * Feature 2 * Feature 2 * * Features get pushed to master daily, with feature flags
Continuous Integration • Tools • Automate mundane tasks like linting,
unit test .. • Build on merge • Store artifacts
Pull request Run tests Tests passing? Merge/Rebase Build Fix No
Yes
Accelerate build times • Build once, promote everywhere • BUT
be careful of the gotchas • Freeze dependencies (Yarn, Shrinkwrap) • Offload mundane tasks to orchestrators
Get playbook Get hosts Start Run tasks End A typical
orchestration workflow
Packaging • How do you package and send your code
to the server? • Git clone • Archive and copy • Debian (FPM, Post Install, Versioning, easy reverts)
Deployment • Manage your environments, keep them as similar to
production as possible. • Blue-Green? Rolling? • Keep your deployment scripts close and your rollback scripts closer!
Production Cluster Blue green deployment strategy Stage Cluster Load Balancer
Production Cluster Load Balancer
Rolling deployment strategy Load balancer
Monitoring • What should you monitor? • Trends • Stack
traces/ deep dives • How do you monitor? • OpenTSDB based tools like Grafana for trends • Sentry/ NewRelic for deep dives and stack traces
Image: http://grafana.org
Testing • What to test? • Functional - Automate critical
flows. • Unit tests • Non-functional • Capacity testing and API Fanout • Performance • RUM / Synthetic - SpeedCurve, Dareboost
Key takeaways
Thank you! @kapoorshikhar