World Congress 2025

Streaming AI Responses in Real-Time with SSE in Next.js & NestJS

July 11, 2025 11:00 – 11:30 · 30 min Stage 7
ai llms performance javascript

What this session covers

Instant AI responses are crucial for modern applications, but traditional real-time data streaming methods like WebSockets and polling can introduce unnecessary complexity and overhead. What if there was a more efficient way?

This session dives into Server-Sent Events (SSE) with Next.js & NestJS as a lightweight, scalable alternative for real-time AI interactions. We’ll compare SSE vs WebSockets vs Polling, explore performance trade-offs, and implement a real-time AI-powered app that streams responses dynamically. What You’ll Learn:

  • Why SSE? How it compares to WebSockets & Polling.
  • Hands-on Demo: Building an AI-powered app that streams responses in real-time.
  • Performance Optimization: Reducing API overhead and improving response times.

Related talks at this congress

Open session

World Congress 2025

July 11, 2025 · 15:00–15:30

Stage 7

Prompt API & WebNN: The AI Revolution Right in Your Browser

Christian Liebel

Web developer

Christian Liebel
Open session

World Congress 2025

July 10, 2025 · 12:10–12:40

Stage 5

Privacy-first in-browser Generative AI web apps: offline-ready, future-proof, standards-based

Maxim Salnikov

App Innovation Business Lead at Microsoft, Tech Communities Lead, Keynote Speaker

Maxim Salnikov
Open session

World Congress 2025

July 10, 2025 · 15:30–16:00

Stage 5

Building Interactive Async UI with React 19 and Ariakit

Aurora Scharff

Web developer and consultant at Crayon Consulting

Aurora Scharff
Open session

World Congress 2025

July 11, 2025 · 16:20–16:50

Stage 9

Lessons learned from building a thriving Vue.js SaaS application

Abdelrahman Awad

Senior engineer @Rasayel.io, GDE

Abdelrahman Awad
All sessions at this congress