IT 용어정리

Node.js 란

미지리 2022. 2. 2. 04:34

Node.js® is a JavaScript runtime(Environment) built on Chrome’s V8 JavaScript engine.

 

  • Node.js는 JavaScript를 서버에서도 사용할 수 있도록 만든 프로그램이다.
  • Node.js는 V8이라는 JavaScript 엔진 위에서 동작하는 자바스크립트 런타임(환경)이다.
  • Node.js는 서버사이트 스크립트 언어가 아니다. 프로그램(환경)이다.
  • Node.js는 웹서버와 같이 확장성 있는 네트워크 프로그램을 제작하기 위해 만들어졌다.

Features

 

  • Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.
  • Node.js’ package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

Non-blocking IO

 

I/O refers to input/output. It can be anything ranging from reading/writing local files to making an HTTP request to an API.

I/O takes time and hence blocks other functions.

 

Using a non-blocking request, you can initiate a data request for user2 without waiting for the response to the request for user1. You can initiate both requests in parallel.

This non-blocking I/O eliminates the need for multi-threading since the server can handle multiple requests at the same time.

'IT 용어정리' 카테고리의 다른 글

블록체인 : 디앱(dApp) 이란?  (0) 2022.02.02
Agile Model 이란  (0) 2022.02.02
Web : API vs EndPoint?  (0) 2022.02.01