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
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
310
Node.js Development in 2022
galkin
0
860
Cloud Native Approach for Node.js Developers
galkin
0
100
Deep Dive Into NestJS at FWDays
galkin
0
540
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
180
Other Decks in Programming
See All in Programming
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
420
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
810
Vite+ Unified Toolchain for the Web
naokihaba
0
410
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
460
act1-costs.pdf
sumedhbala
0
150
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
1k
Oxcを導入して開発体験が向上した話
yug1224
4
370
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.7k
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
220
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
150
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
210
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
14
6.6k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Building AI with AI
inesmontani
PRO
1
1.1k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
240
HDC tutorial
michielstock
2
730
The Pragmatic Product Professional
lauravandoore
37
7.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Why Our Code Smells
bkeepers
PRO
340
58k
sira's awesome portfolio website redesign presentation
elsirapls
0
290
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The Curse of the Amulet
leimatthew05
2
13k
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