Tagged

nodejs

A collection of 4 posts

NodeJS์—์„œ async_hooks์„ ์ด์šฉํ•ด ์š”์ฒญ์˜ ๊ณ ์œ ํ•œ context ์‚ฌ์šฉํ•˜๊ธฐ
nodejs

NodeJS์—์„œ async_hooks์„ ์ด์šฉํ•ด ์š”์ฒญ์˜ ๊ณ ์œ ํ•œ context ์‚ฌ์šฉํ•˜๊ธฐ

> ์ด ๊ธ€์€ Guillaume Bession [https://twitter.com/geekuillaume]์˜ ๊ฐœ์ธ ๋ธ”๋กœ๊ทธ์— ์˜ฌ๋ผ์™€์žˆ๋Š” Getting per-request context in NodeJS with async_hooks [https://blog.besson.co/nodejs_async_hooks_to_get_per_request_context/] ๊ธ€์˜ ๋ฒˆ์—ญ๊ธ€์ž…๋‹ˆ๋‹ค. ์ €๋Š” ์ตœ๊ทผ NodeJS๋กœ HTTP ์„œ๋ฒ„๋ฅผ ๊ฐœ๋ฐœํ•˜๋˜ ๋„์ค‘ ๋ฌธ์ œ๋ฅผ ๋งž๋‹ฅํŠธ๋ฆฌ๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ €๋Š” ์ œ ์ฝ”๋“œ๋ฒ ์ด์Šค์˜ ๋งŽ์€ ๋ถ€๋ถ„์—์„œ

Node.js v10.5.0 Worker PR FAQ
nodejs

Node.js v10.5.0 Worker PR FAQ

> ์ด ๊ธ€์€ nodejs 10.5.0์— ์‹คํ—˜์  ๊ธฐ๋Šฅ(experimental feature)์œผ๋กœ ์ถ”๊ฐ€๋œ worker์˜ PR FAQ๋ฅผ ์ •๋ฆฌํ•œ ๊ธ€์ž…๋‹ˆ๋‹ค. ์›๋ฌธ์€ https://gist.github.com/benjamingr/3d5e86e2fb8ae4abe2ab98ffe4758665 ์—์„œ ํ™•์ธํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Worker PR FAQ The content here is mostly copied material written by Anna (@addaleax) and people on the PR and copied

Chrome 64, Node.js v10์—์„œ๋Š” GC๊ฐ€ markํ•˜๋Š” ๋™์•ˆ ์•ฑ์ด ๋ฉˆ์ถ”์ง€ ์•Š์Šต๋‹ˆ๋‹ค
nodejs

Chrome 64, Node.js v10์—์„œ๋Š” GC๊ฐ€ markํ•˜๋Š” ๋™์•ˆ ์•ฑ์ด ๋ฉˆ์ถ”์ง€ ์•Š์Šต๋‹ˆ๋‹ค

> ์ด ๊ธ€์€ V8 Javascript Engine ๊ณต์‹ ๋ธ”๋กœ๊ทธ์— ์˜ฌ๋ผ์˜จ ์•„๋ž˜ ๊ธ€์˜ ๋ฒˆ์—ญ๊ธ€์ž…๋‹ˆ๋‹ค. Concurrent marking in V8 https://v8project.blogspot.com/2018/06/concurrent-marking.html ์›๊ธ€ ์ž์ฒด๊ฐ€ ์‰ฌ์šฐ๋ฉด์„œ ์ด๋”ฐ๊ธˆ์”ฉ ์–ด๋ ค์šด ์„ค๋ช…์ด ๋‚˜์˜ค๊ธฐ ๋•Œ๋ฌธ์— ์˜ค์—ญ์ด ์žˆ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋Œ“๊ธ€ ๋˜๋Š” ์ด๋ฉ”์ผ๋กœ ์ˆ˜์ • ํ”ผ๋“œ๋ฐฑ ๋‚จ๊ฒจ์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. :) V8์˜ ์ง€์†์ ์ธ ๋งˆํ‚น ์ด ๊ธ€์—์„œ๋Š” ์ง€์†์ ์ธ ๋งˆํ‚น(