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

higiene de sueno

EL HIGIENE DEL SUEÑO. Para tener encuenta: Cenar al menos 2 horas antes de dormir.  No consumir bebidas energizantes después de las 5 de la ...