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
Workshop at JS fwday-2018 "Best practices and t...
Search
Nikita Galkin
March 18, 2018
Programming
240
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Workshop at JS fwday-2018 "Best practices and troubleshooting guide for node applications"
Nikita Galkin
March 18, 2018
More Decks by Nikita Galkin
See All by Nikita Galkin
React applications Failures
galkin
0
320
Node.js Development in 2022
galkin
0
880
Cloud Native Approach for Node.js Developers
galkin
0
120
Deep Dive Into NestJS at FWDays
galkin
0
550
Node.js Recipes: Road to Production.
galkin
0
220
Auth for React.js App
galkin
1
180
Web Developer Toolbox at 2020
galkin
1
250
Node.js Development in 2020: trends and techniques
galkin
0
590
Backend For Frontend: The Missing Manual at Devoxx Ukraine
galkin
1
180
Other Decks in Programming
See All in Programming
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
160
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
400
Seven New Principles of Software Engineering
yegor256
0
440
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.8k
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
1.5k
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
510
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
280
Crash Auto Pipelines
veronikapj
1
350
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
270
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
710
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
280
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.6k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Un-Boring Meetings
codingconduct
0
490
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
500
Prompt Engineering for Job Search
mfonobong
0
570
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
760
Transcript
Best practices and troubleshooting guide for node applications
Верю, что: ▰ Любая проблема должна решаться на нужно уровне
▰ Сложности не в технологиях, сложности в людях ▰ Проблемы надо обсуждать, идеи – продавать, а решения – демонстрировать 2 Никита Галкин
Ссылки Repo: github.com/galkin/js-fwdays-2018 Slides: speakerdeck.com/galkin
4 Избегайте магии Избегайте магии
5 Избегайте магии Понимайте, что происходит в вашем коде
Проблемы c
Проблемы с npm ▰ npm doctor ▰ npm cache clean
▰ --verbose ▰ https://github.com/npm/npm/wiki/Troubleshooti ng ▰ package-lock.json missed ▰ which npm
Инструменты ▰ depcheck ▰ sort-package-json ▰ npm-merge-driver ▰ npm dedupe
Проблемы разворачивания
12factor.net
Инструменты и подходы ▰ bootstrap & graceful shutdown ▰ Docker
▰ pm2 ▰ dotenv-safe
Проблемы во время выполнения Node.js
Проблемы с Node.js ▰ Неправильная реализация ▰ Bit event loop
delay или все “Тормозит” ▰ unhandledRejection/uncaughtException ▰ Memory-leak ▰ Проблемы с libUV
Node.js remote debugging ▰ Bind port via ssh -N -i
<path_to_ssh_key> -L 9229:127.0.0.1:9229 <username>@<host_ip_address> ▰ kill -SIGUSR1 <nodejs_app_pid> ▰ Enjoy in Google Chrome as local Debug
15 Главная идея: Избегайте магии Твиттер: @galk_in Слайды: speakerdeck.com/galkin Сайт:
galk.in