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
Deploying node applications at scale
Search
shikharkapoor
December 01, 2016
Technology
0
36
Deploying node applications at scale
shikharkapoor
December 01, 2016
Tweet
Share
Other Decks in Technology
See All in Technology
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
170
Greatest Disaster Hits in Web Performance
guaca
0
210
Tebiki Engineering Team Deck
tebiki
0
24k
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
550
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
190
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
240
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
Agile Leadership Summit Keynote 2026
m_seki
1
590
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
890
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
150
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
The Pragmatic Product Professional
lauravandoore
37
7.1k
ラッコキーワード サービス紹介資料
rakko
1
2.3M
KATA
mclloyd
PRO
34
15k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
It's Worth the Effort
3n
188
29k
RailsConf 2023
tenderlove
30
1.3k
How to make the Groovebox
asonas
2
1.9k
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