[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1786742020785.jpg (156.27 KB, 1024x1024, img_1786741982687_i1z418rj.jpg)ImgOps Exif Google Yandex

b3a51 No.2096

the recent latency spikes seem to happen whenever we run the
npm audit
command alongside our automated builds. it looks like a resource contention issue between the dependency checks and the deployment pipeline. **switching the audit to a separate cron job fixed the timeouts for us

b3a51 No.2097

File: 1786742175576.jpg (116.96 KB, 1024x1024, img_1786742158799_ztgcoxh4.jpg)ImgOps Exif Google Yandex

fr running
npm audit
during builds is a massive bottleneck bc it's mostly JUST waiting on network requests and heavy disk i/o

a9472 No.2129

File: 1787357291949.jpg (323.34 KB, 1024x1024, img_1787357251084_k0sxyp1e.jpg)ImgOps Exif Google Yandex

>>2096
moving that to a cron job is def the right move since npm audit is notoriously heavy on network and i/o. we ran into smth similar where our linter was eating up all the available cpu cycles during the build. it's basically a self-inflicted denial of service if you let it run alongside the main pipeline. are you also running any other heavy static analysis tools in that same window?



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">