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
Workshop at JS fwday-2018 "Best practices and t...
Search
Nikita Galkin
March 18, 2018
Programming
230
3
Share
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
310
Node.js Development in 2022
galkin
0
850
Cloud Native Approach for Node.js Developers
galkin
0
99
Deep Dive Into NestJS at FWDays
galkin
0
530
Node.js Recipes: Road to Production.
galkin
0
210
Auth for React.js App
galkin
1
170
Web Developer Toolbox at 2020
galkin
1
250
Node.js Development in 2020: trends and techniques
galkin
0
580
Backend For Frontend: The Missing Manual at Devoxx Ukraine
galkin
1
170
Other Decks in Programming
See All in Programming
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
2
370
[RubyKaigi 2026] Require Hooks
palkan
1
270
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
120
의존성 주입과 모듈화
fornewid
0
150
Spec-driven Development: How AI Changes Everything (And Nothing)
simas
PRO
0
540
個人的に嬉しかったpnpmの新機能・3選
matsuo_atsushi
0
120
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
140
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
570
実践CRDT
tamadeveloper
0
610
第3木曜LT会 #28
tinykitten
PRO
0
120
The Less-Told Story of Socket Timeouts
coe401_
3
880
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
210
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Utilizing Notion as your number one productivity tool
mfonobong
4
300
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
200
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.4k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
550
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
530
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
540
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
280
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
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