REST API vs WebSockets vs SSE: Cuándo usar cada uno (con demo real)

💰Compra tu Dominio y Hosting en DonDominio 👉 https://www.dondominio.com/es/?_x-c=662
💰Obtén 30% de descuento en tus dominios usando el código 👉 DOMINIOSFAZT2


REST API, WebSockets y Server-Sent Events (SSE): las 3 formas de comunicación cliente-servidor que realmente necesitas dominar.

En este video te muestro de forma práctica cuándo usar cada una, con demos reales de un tablero Kanban sincronizado en tiempo real, Long Polling, WebSockets y un feed de actividad con SSE. También te doy una introducción a GraphQL.

✅ Entenderás la arquitectura cliente-servidor y cómo funciona HTTP
✅ Verás por qué Long Polling ya no es la mejor opción
✅ Implementarás WebSockets para sincronización en tiempo real entre múltiples clientes
✅ Usarás Server-Sent Events (SSE) para notificaciones y feeds unidireccionales
✅ Combinarás REST API + WebSockets + SSE en el mismo proyecto
✅ Conocerás cuándo tiene sentido usar GraphQL

Perfecto tanto si estás empezando como si usas agentes de IA para generar código.

⏱️ Capítulos
00:00 Introducción: cómo se comunican las aplicaciones web
00:55 Don Dominio (sponsor)
01:55 Arquitecturas de comunicación cliente-servidor
02:26 REST API: peticiones y respuestas HTTP
04:18 Demo: creando un Kanban con React, Express y SQLite
07:15 Métodos HTTP en acción (GET, POST, PATCH, DELETE)
08:02 El problema del tiempo real entre múltiples clientes
09:03 Long Polling: la técnica clásica (ejemplo Gmail)
11:50 WebSockets: comunicación bidireccional
13:10 Demo: cambiando Long Polling por WebSockets
14:29 Server-Sent Events (SSE): notificaciones del servidor
16:28 Demo: feed de actividad en vivo con SSE
17:19 Combinando REST API, WebSockets y SSE en un mismo servidor
18:33 GraphQL: consultar solo los datos necesarios
21:32 Conclusiones: cuándo usar cada una

🌐 Mis redes son:
💻 Sitio web: fazt.dev
📧 Correo: fazt@fazt.dev
X/Twitter → @FaztTech
Instagram → @FaztTech

Si este video te ayudó, deja un like ❤️, comenta qué arquitectura usas más y suscríbete para más contenido práctico de desarrollo y herramientas de IA.

¿Quieres que prepare el siguiente video sobre GraphQL a fondo o sobre otra arquitectura? Dímelo en los comentarios.

#WebSockets #ServerSentEvents #RESTAPI #ArquitecturaWeb #DesarrolloWeb #JavaScript #React #NodeJS #TiempoReal #SSE #GraphQL #TutorialProgramacion #FaztTech Receive SMS online on sms24.me

TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.

Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.

Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.

TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.

Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.

@YouTubeReaderBot allows you to subscribe to Youtube channels.

By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.

Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.

Look for new videos or channels and share them with your friends.

You can start using our bot from this video, subscribe now to REST API vs WebSockets vs SSE: Cuándo usar cada uno (con demo real)

What is YouTube?

YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.