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.






 ¿Qué categorías y ejemplos prácticos funcionan hoy? La IA cruza todo el flujo: idear, debatir, prototipar, programar, publicar. Evita forza...