blog/node-js-event-loop/ #9
Replies: 31 comments 7 replies
-
와우... 정말 궁금했던 내용이고 공식문서를 봐도 잘 이해가 안되었던 부분인데 너무 잘 설명해주셔서 감사합니다!!
|
Beta Was this translation helpful? Give feedback.
-
즉, 위 사진을 보면 알 수 있듯이
예를 들어서 이때 콜백은 결국 만약 HTTP 응답 콜백에서 네이버에 HTTP 요청을 보내는 코드가 있다면 아래와 같은 순서로 진행된다고 생각하면 됩니다.
.
찾아보니까 아래와 같은 저도 자세한 내용은 몰라서 아래 내용들을 참고해보면 좋을 것 같습니다. |
Beta Was this translation helpful? Give feedback.
-
정말 꼼꼼한 답변 감사드립니다! |
Beta Was this translation helpful? Give feedback.
-
정말 좋은 글 감사드립니다. 이벤트 루프에 대해 이해가 전혀 되지 않았는데, 글을 읽고 크게 도움을 얻을 수 있었습니다. 계속 반복해서 글을 보면서, 공부하고 있는데 혹시 이 글을 보고 공부한 내용을 블로그에 출처를 남기고 작성해도 괜찮을까요? |
Beta Was this translation helpful? Give feedback.
-
@epitoneproject 넵 괜찮습니다! |
Beta Was this translation helpful? Give feedback.
-
정성이 느껴지는 게시글입니다. 재밌게 정독할 수 있었습니다! |
Beta Was this translation helpful? Give feedback.
-
해당 레포에서 |
Beta Was this translation helpful? Give feedback.
-
@dontbesatisfied
|
Beta Was this translation helpful? Give feedback.
-
작성자님의 정성으로 제 시간을 세이브했네요 ㅠㅠ... 너무 감사합니다...!!!! |
Beta Was this translation helpful? Give feedback.
-
정성 가득한 글 너무 잘 읽었습니다. 많은 도움이 되었습니다 :) |
Beta Was this translation helpful? Give feedback.
-
최고의 글입니다. |
Beta Was this translation helpful? Give feedback.
-
정말 자세한글 감사합니다! |
Beta Was this translation helpful? Give feedback.
-
엄청난 글이군요 |
Beta Was this translation helpful? Give feedback.
-
다 읽는데 두시간이 걸렸습니다. |
Beta Was this translation helpful? Give feedback.
-
정보 정리가 잘되어있네요. 감사합니다. |
Beta Was this translation helpful? Give feedback.
-
집요함에 감탄하고 갑니다 ㅎㅎ |
Beta Was this translation helpful? Give feedback.
-
지금까지 본 글 중에 최고에요. 감사합니다. |
Beta Was this translation helpful? Give feedback.
-
유용한 정보 감사합니다. 혹시 해당 글에서 적혀진 node 스레드 개수 확인하는 사진은 어떤 명령어를 치면 나오는 결과물인가요..? |
Beta Was this translation helpful? Give feedback.
-
너무 재미있게 잘 읽었습니다! |
Beta Was this translation helpful? Give feedback.
-
많은 수고가 묻어나오는 글이네요. 이벤트 루프 리마인드에 많은 도움이 됐습니다. 개인적으로 이벤트 루프에 대하 포스팅을 할까 했는데 이 글보다 더 잘 쓸런지 모르겠어서 보류해야겠네요 😅 |
Beta Was this translation helpful? Give feedback.
-
정말 놀라운 글입니다. 이 글을 발견한게 올해 최고의 행운이 될지도 모르겠네요. 추가로 궁금한 점이 있어서 질문드립니다. poll phase에서 처리되는 callback은 libuv의 워커 쓰레드가 완료한 job의 callback으로 이해했습니다. node event loop 자체는 non-preemtive로 동작하는것으로 아는데 백그라운드(?)에서 io나 계산집중적인 job을 처리하는 워커 쓰레드도 non-preemtive하게 동작할까요? |
Beta Was this translation helpful? Give feedback.
-
많은 도움 되었습니다. 감사합니다! |
Beta Was this translation helpful? Give feedback.
-
감사합니다. 궁금한 내용이었어요. 다 이해하지는 못했지만 따로 작업하다 이 글 내용이 생각나면서 스스로 정리될것같아요. |
Beta Was this translation helpful? Give feedback.
-
사소한 correcting입니다.
|
Beta Was this translation helpful? Give feedback.
-
안녕하세요, 글 잘 읽었습니다. 혹시 마지막 부분에 setTimeout을 0으로 설정했을 때 1로 바뀌는 게 특별한 이유가 있어서 일까요? |
Beta Was this translation helpful? Give feedback.
-
내부 구조를 뜯어보기에 엄두가 안났는데, 너무 좋은 글 덕분에 잘 이해하고 갑니다. 감사합니다 :) |
Beta Was this translation helpful? Give feedback.
-
정리 잘해주셔서 감사합니다 :) |
Beta Was this translation helpful? Give feedback.
-
엄청 디테일한 설명이네요 감사합니다! 참고자료의 수만 보아도 집요함이 대단하시네요 .. 👍 |
Beta Was this translation helpful? Give feedback.
-
두고두고 계속 봐야할 것 같아요! 너무 좋은 글이어서 감탄했습니다. |
Beta Was this translation helpful? Give feedback.
-
Node.js 이벤트 루프(Event Loop) 샅샅이 분석하기
글에 들어가기에 앞서 Node.js의 이벤트 루프의 경우 공식 문서에 설명이 부족하고 이에 따라 여러 사람들이 각자 나름대로 분석한 글이 많아 무엇이 이벤트 루프의 정확한 동작인지 알기 힘듭니다. 혼자 이벤트 루프를 공부해보면서 여러 글들, 공식 문서, 그리고 Node
https://www.korecmblog.com/node-js-event-loop/
Beta Was this translation helpful? Give feedback.
All reactions