Thursday, March 6, 2025

NODE.JS

NODE.JS

SUMARY

¿What is Node.js?, Origins and philosophy. 

Node.js is a JavaScript runtime enviroment created in 2009 , it is oriented to servers. 

Features:
  • Single thread with asynchronous inpust and outputs. 
  • V8 engine.
  • module centric.
  • event oriented.

EventLoop: asynchronous by design

A process with a loop that asynchronously manages all events of your aplication.
you imagine a circle, it will go round and round. 
Event Queue It is everything you have in the line of code. (function,Request, Event).


Thread Pool: For each request, it spins up a thread.






No comments:

Post a Comment

Historia y Evolución del Lenguaje de Programación JavaScript

 JAVA SCRIPT JavaScript  fue creado por  Brendan Eich , inspirado por otros lenguajes como Java, Scheme y Self. El propósito de JavaScript f...