November 2025 Summaries
2 posts from Upstash
Filter
Month:
Year:
Post Summaries
Back to Blog
The text provides a comprehensive guide on building a real-time notification system using Next.js 16 and Upstash Realtime. It outlines a step-by-step setup process, starting with installing necessary packages and configuring a Redis database from Upstash, followed by setting up route handlers, publishing events, and creating a basic form component for input. The guide emphasizes using Upstash Realtime's features, such as automatic connection management and type safety with Zod schemas, to ensure efficient data handling and real-time updates. A key focus is on the useRealtime hook, which allows for listening to specific events, automatically loading past data, and updating the state with new notifications. The guide culminates in creating a user interface that displays live notifications and deploys the application on platforms like Vercel, offering a modern solution for implementing real-time features in web applications.
Nov 13, 2025
1,636 words in the original blog post.
Upstash Realtime is a new product designed as an alternative to Pusher/Ably, utilizing Redis Streams to add real-time features to applications, especially those built with Next.js and deployable on Vercel. The product addresses common issues in AI chat applications, such as losing AI generation due to connection drops, by enabling resumable streaming. This involves setting up a structure where the AI response generation is managed as a background job using Upstash Workflow, ensuring it continues even if the user disconnects, and making the stream viewable on multiple devices. The system uses a custom transport layer to handle reconnections and manages chat history through Redis, allowing the user to replay and resume streams seamlessly. The approach contrasts with traditional streaming by decoupling the generation process from direct client connections, providing a more resilient user experience. The setup and integration process is fully open-source, with a focus on handling persistent connections through a separate subscriber, allowing for uninterrupted AI response streaming and history replay upon reconnection.
Nov 07, 2025
2,281 words in the original blog post.