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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
今日から始めるAmazon Bedrock AgentCore
har1101
4
400
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
160
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
1
130
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
550
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
Greatest Disaster Hits in Web Performance
guaca
0
210
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
160
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
190
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
110
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
How GitHub (no longer) Works
holman
316
140k
Balancing Empowerment & Direction
lara
5
880
YesSQL, Process and Tooling at Scale
rocio
174
15k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Building Applications with DynamoDB
mza
96
6.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
The Cult of Friendly URLs
andyhume
79
6.8k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
Practical Orchestrator
shlominoach
191
11k
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