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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
870
Cloud Native Approach for Node.js Developers
galkin
0
110
Deep Dive Into NestJS at FWDays
galkin
0
540
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
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
330
PyO3 で既存 Python 評価器を Rust core 化する ー wasm-bindgen でブラウザにも配るための設計
kdash
1
360
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
0
160
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
260
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
140
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
960
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
110
MySQLとPostgreSQLって何が違うの?
akagami
PRO
0
160
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.7k
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
250
Building an Out-of-Order CPU
latte72
0
640
AIの中の人になってみる
htkym
0
160
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
260
Leo the Paperboy
mayatellez
8
2.2k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
420
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Why Our Code Smells
bkeepers
PRO
340
58k
Side Projects
sachag
455
43k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
230
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
870
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
680
GitHub's CSS Performance
jonrohan
1033
470k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
500
Building the Perfect Custom Keyboard
takai
2
860
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