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

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.
ai llms performance javascript

World Congress 2025

Related talks

Open session

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

  • Christian Liebel

    Thinktecture

    Software Developer

Open session

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

  • Maxim Salnikov

    Microsoft

    App Innovation Business Lead

Open session

Building Interactive Async UI with React 19 and Ariakit

  • Aurora Scharff

    Crayon Consulting

    Web developer and consultant

Open session

Lessons learned from building a thriving Vue.js SaaS application

  • Abdelrahman Awad

    Rasayel.io

    Senior Engineer

All sessions at this congress