Latest blog articles.
Speed up your auth with Upstash and Better Auth
Learn how to use Upstash Redis with Better Auth as secondary storage.
Free Redis databases for AI agents, in one HTTP request
POST https://upstash.com/start-redis returns a free Upstash Redis database. No signup and no API key needed. Perfect for AI agents.
Running OpenClaw and Hermes on Upstash Box
AI infrastructure is moving fast. New gateways, new agent frameworks, new runtimes. The hard part is no longer finding the right tool. It's finding a stable place to run it. Today we're publishing…
Remote Development with Upstash Box
Remote development is having a moment. Here's why it matters and how Upstash Box makes it work for the way people actually build today.
From Prompt to Production: Build a Full-Stack App With Stripe Projects
Build, provision, and deploy a real app with `stripe projects` from one terminal — and reproduce the whole thing from a single Claude Code prompt.
Upstash on Stripe Projects: Provisioning From the Terminal (or From Your Agent)
Upstash is now available on Stripe Projects. Add a Redis database, a QStash messaging queue, a Vector index, or a Search index from your terminal — without ever opening a dashboard.
Why Web Search Fails AI Agents (and What Context7 Fixes)
Large language models are fundamentally constrained by their training data. In practice, that means a fixed knowledge cutoff, where newer APIs, version changes, and evolving documentation are out of…
Context7 is Ready for Enterprise
Context7 now ships an on-premise edition with content scanning and moderation, addressing the data privacy and safety concerns that slowed enterprise adoption.
Rebuilding Observability for QStash and Upstash Workflow
An async execution model is only as good as your ability to see into it. When a workflow spans hours, retries, and fans out into thousands of steps, you need an observability layer built for the…
Building a really fast virtual filesystem for AI agents
How to build a virtual filesystem on top of Upstash Redis, with Redis Search powering grep for AI agents.
Running Symphony with Upstash Box in Minutes
It picks up tasks from your backlog, writes the code, and opens a pull request, without any sleep. Did you guess a developer? The correct answer is Symphony, and today we're showing you how to run it…
Using Upstash on Vercel? Rotate Your Secrets After Vercel's April 2026 Incident
What Vercel disclosed on April 19, 2026, and how Upstash customers should rotate Redis, QStash, Vector, and Search credentials.
How We Made QStash And Upstash Workflow Reliable At Scale
When users rely on a platform like QStash and Upstash Workflow for production operations, reliability stops being a nice-to-have. It becomes the product. Over the last few months, we have been…
Ahi: A Framework to Run Independent Agents
Ahi is an open-source framework for running each agent in its own isolated container with tools, skills, durable data, and a schedule. No orchestration. No deployment. The Ahi name comes from the…
Rewriting Flow Control in QStash and Workflow
Flow control is one of the core features of QStash. It allows developers to control how fast messages are delivered and how many requests can run concurrently using rate limits and parallelism. Over…
Box + Workflow: Patterns for Orchestrating Async Agents
If you've been following our updates, you know we recently launched Upstash Box — an isolated execution environment with built-in capabilities for running AI agents. It takes the infrastructure…
Give AI SDK agents a computer: Filesystem, Shell and Git
How to run Vercel AI SDK agents isolated cloud sandboxes. Give an AI SDK agent filesystem, shell and git access.
I Built 5 AI Agents to Review My PRs
We recently launched Upstash Box — a cloud computer for your agents with durable storage, serverless scaling, and usage-based pricing. Since day one of building the backend, the team has been pretty…
Upstash Box: Give your agents a computer
Upstash Box is a cloud computer for AI agents with durable storage, serverless scaling, and usage-based pricing. Run code, agents, and commands in isolated sandboxes.
A First Look at Upstash Redis Search
An early look at Upstash Redis Search. A type-safe, serverless way to search your data, built on Redis.
Introducing Context7 Skill Wizard
The Context7 Skill Wizard auto-generates high-quality skills for AI from up-to-date documentation.
Quality and Safety in Context7
Library benchmarks, deduplication, version analysis, and content moderation in Context7.
Implementing MCP OAuth: A Technical Deep-Dive
A technical guide to implement OAuth 2.1 for MCP servers.
Introducing Dynamic Rate-Limits for Upstash Ratelimit
Upstash Ratelimit now supports dynamic rate limits. You can now change rate-limits without redeploying.
Upstash Prod Pack: Enterprise-Grade Redis for $200/month
Prod Pack adds 99.99% uptime SLA, SOC 2 compliance, dedicated support, and advanced monitoring to any paid Upstash Redis or QStash instance.
Why We Chose QStash and Upstash Workflow at Scale
How Streamlined evaluated Trigger.dev, Inngest, and Cloudflare Workflows before choosing QStash and Upstash Workflow to coordinate 200K+ daily API requests.
Context7 Without Context Bloat
Context7's new architecture decreases token usage by 65% and reduces latency by 38%.
Integrating Upstash MCP is a lot easier now
The Upstash MCP server setup just got simpler. One CLI command for Claude, Cursor, or Copilot.
Redis functions are here!
Upstash Redis SDK now supports Redis Functions. Like stored procedures for Redis, with full TypeScript support.
TanStack AI Powered by Upstash
Learn how to use TanStack AI with Upstash for rate limiting, caching, and search in AI apps. Includes comparisons with Vercel AI SDK.
Figma-Style Live Cursors with Next.js 16 & Upstash Realtime
Build Figma-style live cursors in Next.js 16 with Upstash Realtime.
Inside Context7's Quality Stack
How we keep Context7 documentation up to date.
Realtime Notifications with Next.js 16 & Vercel
Build a realtime notification system in Next.js 16 with Upstash Realtime.
Resumable AI SDK v5 Streams with Upstash Realtime
Build AI chat streams that survive page refreshes and network disconnects using Vercel AI SDK v5, Upstash Workflow, and Upstash Realtime.
The Easiest Way to Add Realtime in Next.js
Introducing Upstash Realtime - a type-safe, serverless alternative to Pusher and Ably. Add live updates, cursors, and notifications to Next.js in 60 seconds.
Vercel Workflow vs Upstash Workflow
A detailed comparison of Vercel Workflow and Upstash Workflow.
Add Rate Limiting to Your n8n Workflow with Upstash Redis
Protect your n8n workflows from API abuse and excessive requests by adding rate limiting with Upstash Redis.
Fast, Cost-Effective MCPs with Redis
How Upstash Redis powers production MCP servers
QStash Goes GA: Stronger, Smarter, and Production-Ready
We’ve come a long way in developing QStash and Workflows. Both are now more scalable and resilient to burst loads. Thanks to these improvements, we’re excited to announce that QStash and Workflows…
Adding AI Assistant to Docs in Minutes with AI SDK & Context7
Building AI assistants for documentation used to require complex RAG pipelines, vector databases, and constant maintenance. Not anymore. With AI SDK and Context7, you can add a production-ready AI…
Building Reliable & Type-Safe Webhooks
In this article, I wanna show you how easy it is to add a fully type-safe webhook system to your own app. We have automatic retries delivery guarantees delays ...and much more already built-in with…
Storing Time Series Data in Redis
Time series data is everywhere in modern applications - from stock prices and sensor readings to system metrics and user analytics. If you're building an application that needs to track values over…
Better Context7 Output Quality with Code Scoring
Even the most advanced LLMs still hallucinate, which can at times make their outputs unreliable or even misleading. In the context of code generation, they may produce outdated code from previous…
Building an Article Research Agent with Mastra & Upstash
Academic research moves quickly—new papers appear every day on arXiv and other pre-print servers. Keeping up manually can be overwhelming. In this guide, we will build an AI research assistant that:…
AI SDK Powered by Upstash
AI SDK v5 is out, and together with this new release it already took its place at the top three among the most popular libraries. Personally, I am not an AI expert, I only use such models to realize…
Smooth Text Streaming in AI SDK v5
There's one pattern I've noticed over and over again in some of the most polished AI chat interfaces. This pattern is used by huge companies like Anthropic in production and make the AI chat…
Saving AI SDK v5 Chat Messages in Redis
I wrote an updated 2026 version of this article for Vercel AI SDK v6 over at xadd.dev! In 2023, Vercel introduced the first version of their AI SDK. In their words, it started as: "An interoperable,…
Building Smart Autocomplete with Redis Sorted Sets
Have you ever noticed how search boxes suggest words as you type? Turns out, most of these suggestions show up in a simple alphabetical order and aren't super helpful. But what if a search box could…
Caching Drizzle Queries with Upstash Redis
A while ago, we had the opportunity to collab with Drizzle ORM. Seeing how this TypeScript ORM is absolutely loved by the community, our decision to say "yes 😳" was a no-brainer: In this article,…
Quick Apply: Building a Serverless AI Interview Assistant
Job interviews are ripe for AI disruption. What if an AI could handle the initial screening conversation with candidates, freeing up human recruiters until it's time to engage the top prospects? I…
Building a seriously reliable serverless API
A few days ago, the internet broke. GCP, AWS, Cloudflare, nearly every major cloud provider had downtime: Most web apps (ofc mine included) rely on third-party APIs like OpenAI, an email service, or…
How Serverless Workflows Actually Work?
In this post, we'll take a look under the hood at how Upstash Workflow works. It enables you to build serverless APIs that are reliable by default. As you scale your app and your backend grows in…
How Upstash Monitors 25+ Clusters Across the Globe
We're building Upstash's infrastructure to be cloud-agnostic by design. Everything works the same whether our services run on AWS, GCP, or Fly.io. This consistency and standardization (as I'll get…
Making Next.js Navigation Fast af
Next.js has been my go-to framework for building full-stack apps for years. Built-in API routes, image optimization, and good integrations, there are a lot of reasons to use it. But there's one part…
F*ck Clean Code, You Need an Idea
There's a software development philosophy that aligns perfectly with my understanding of shipping ideas extremely fast. I've seen it work again and again over the past year. It helped me launch…
Increasing Limits for Upstash Redis
We're increasing the limits for Upstash Redis for the second time in 2 months. | Limit | Old | New | |-------|-----------|-----------| | Max throughput (tps) | 1k | 10k | | Max request size | 1MB |…
Build an AI Assistant with Dify and Upstash
In this blog, we'll build an AI assistant using Dify AI and Upstash. This assistant can: Store content and search knowledge from uploaded files using Upstash Vector and Dify's file uploading Make…
How to Build LLM Streams That Survive Reconnects, Refreshes, and Crashes
In this article, we're building extremely durable LLM streams that easily survive: Network outages Page refreshes Closing the website Closing the laptop lid Bonus: You can view the same stream on…
Context7 MCP: Up-to-Date Docs for Any Cursor Prompt
Last month, we introduced Context7 - a way to stop Cursor, Claude or any LLM from generating broken, outdated code. The idea: feed your LLM the latest documentation for the libraries you're using —…
Introducing Context7: Up-to-Date Docs for LLMs and AI Code Editors
I've spent the last year building with AI coding assistants. They're magical — when they work. But unless you're using a popular library that hasn't changed much since the model's training cutoff,…
Building a Personalized AI Companion with Long-Term Memory
The concept of AI companions has been around for decades, with science fiction often depicting robots or virtual assistants that can learn, adapt, and interact with humans in a highly personalized…
Model Context Protocol (MCP): Build Your Own in 5 Minutes
The Model Context Protocol (MCP for short) is a standardized protocol to connect AI to external APIs, live data and more. It was introduced by Anthropic in late 2024. Think of an MCP server as a tool…
New Pricing and Increased Limits for Upstash Redis
Upstash provides managed Redis with global low latency and multi-region replication. In the past, we've offered three types of plans for Upstash Redis: Free Tier: Includes 10K free commands/day…
Building a Fast, Typo-Tolerant AI Search Engine
Recently, I wanted to build a production search functionality for a tech stack I recently released called JStack. While researching how to build this, I realized that building search is usually a…
Building an autonomous AI Twitter Agent
In this article, we'll build a completely autonomous AI agent that: finds the latest top story generates a summary and cover image tweets about the story using one of the most modern, convenient…
How I've built Envflow using Laravel & Upstash Redis
I've recently been inspired by Nuno Maduro's project, Pyre. It is a web app that allows you to send short-lived secret messages to anyone you want. These messages are encrypted at rest, and only you…
Workflow Updates: Invoke, Logs, Flow-Control and Dev Server
We’ve been working hard to implement some of the most requested features for Upstash Workflow, and we’re excited to share them with you: Invoke API – Call other workflows from within a workflow. Logs…
Parallelism and Rate Limit for Workflow And QStash
We are excited to announce the release of Flow-Control, a new feature that lets you set Rate and Parallelism limits for QStash Publish and Workflow. This blog is divided into four sections for easier…
Building a RAG Chatbot for the Health Domain with Next.js
In this tutorial, we'll dive into how we built a modern Health Assistant application using Next.js, Upstash, Vercel AI SDK, LangChain, and OpenAI. The Health Assistant project exemplifies how…
Announcing our PHP SDKs for Vector
On January 31st, 2024, we announced the public release of Upstash Vector, our serverless vector database designed for storing and querying vector data. With Upstash Vector, you can build powerful…
Introducing Workflow Agents
Building workflows for agents often comes with unique challenges: handling long-running tasks, avoiding timeouts, managing serverless constraints, and ensuring resilience in the face of failures.…
Using Upstash Redis for Laravel Sessions
HTTP is a stateless protocol, meaning that every request made to a server is independent and doesn't retain any knowledge of previous requests. This can be a challenge when building dynamic web…
Run Deepseek R1 on your local machine using Ollama
The great thing about open-source LLM models is that you can run them on your local machine, so you do not pay the providers while developing your application. In this mini tutorial, we will show you…
Building Email Analysis Agent with DeepSeek
Imagine having an AI assistant that could automatically analyze incoming emails, understand attached documents and suggest professional responses - all while maintaining the context of the…
Introducing Sparse and Hybrid Indexes
We are excited to announce a significant upgrade to our vector index. Upstash Vector now supports sparse and hybrid indexes! Up until now, Upstash Vector supported dense indexes for semantic…
Authenticate users in Next.js with Auth.js
In this tutorial, you will learn to implement user authentication in a Next.js application using Auth.js and Upstash Redis. You will learn how to set up the required environment, create custom…
Caching Prisma Queries with Upstash Redis
In my previous blog post, we went through the benefits of caching, common caching techniques, how to cache SQL data by using Upstash Redis in different code samples. As we examined the details and…
Auto Translate your Website with OpenAI and Upstash Workflow
In this tutorial, you will learn how to automate i18n translation of a website using Upstash Workflow for task scheduling and OpenAI for translations. You will also learn to interact with the GitHub…
Speed up your Database with Global Redis
A software application is only as valuable as it can meet the needs of its customers. When we consider the needs of customers, the first demands we encounter is the speed of application and the data…
Redis Use Cases in LLM Applications
Large Language Model (LLM) based applications are everywhere. Being everywhere requires ability of handling high-speed data processing, efficient session management, and real-time responsiveness to…
RAG Chatbot for Instagram with Upstash Workflow and Hono
In this guide, you'll learn how to create a RAG chatbot using Upstash Workflow and Hono without making your users wait long for a response on Instagram. You'll need the following: Node.js 18 or later…
Working with Server Actions
See the clap count at the bottom left ↙? That’s Claps. In this tutorial, we will understand Server Actions and build a similar component for your app together. Feel free to jump to Project Setup if…
Building an API Key Generator with Upstash Redis
API keys are like the front-door keys to your service—they let users in while keeping things secure. In this blog, I’ll walk you through building a simple, secure API key generator using Upstash…
Session Management in Next.js Using Redis
In this guide, we will walk through session management in a Next.js app using Upstash Redis by learning what a “session” means in a web application, why Redis is a go-to choice for session…
Working with React Server Components
In this tutorial, we will understand React Server Components and with that knowledge, build a simple view counter for your app together. Feel free to jump to Project Setup if you want to go ahead…
Optimize LLM Applications: Semantic Caching for Speed and Savings
Imagine you have an LLM-powered chatbot managing customer support inquiries. Whether you’re using OpenAI or a similar provider, as traffic grows, so do your costs, since most providers charge based…
Building a Newsletter App with Upstash Workflow and Redis
In this blog, we will build a newsletter app where users will be able to subscribe and select how often they want to recieve their newsletters. We will use Upstash Redis to store the subscription…
Scheduling Audio Transcriptions with QStash
In this tutorial, you will learn how to build a scheduled audio transcription system using Upstash QStash for task scheduling and Fireworks AI for AI-powered transcriptions. You will also learn…
Adding Semantic Search to a Directus Application
In my previous blog, we reviewed how to add semantic search to a Strapi Application. In this blog post, we will explore how to add semantic search to a Directus application, another popular headless…
Four Ways to Reduce Your Vercel Serverless Costs
This post has been authored before introduction of Vercel Fluid which provides active CPU pricing for lower costs. One of the primary adoption drivers for serverless infrastructure is the promise to…
Build a RAG Chatbot with Upstash, OpenAI, Clerk, and Next.js
In this post, you will learn how to build your own career coach with Upstash Vector, Upstash Redis, OpenAI API, Clerk, Next.js App Router, and Vercel. Upstash RAG Chat SDK simplifies the per-user…
Speed up Strapi Apps with Caching
In this guide, we'll explore how to implement caching in your Strapi application using Upstash Redis. This will significantly improve your app's performance by reducing response times for frequently…
Get Rid of Function Timeouts and Reduce Vercel Costs
This post has been authored before introduction of Vercel Fluid which provides active CPU pricing for lower costs. Vercel is an excellent platform for hosting static sites and serverless functions.…
Efficient Article Summarization with QStash: Handling API Rate Limits and Parallel Processing
In this article, we'll build an application to summarise hundreds of online articles at once. To create these summaries, we'll use QStash's LLM integration to call an Upstash-hosted LLM. This not…
Announcing Upstash Workflow and Deprecating Upstash Kafka
I have one piece of good news and one piece of bad news I'd like to share in this article. The good news is that we've been working hard for the past couple of months on a brand-new product called…
Building a RAG Chatbot Using Langflow and Upstash Vector
In this blog, we will show you how to build a Retrieval-Augmented Generation (RAG) chatbot using Langflow and Upstash Vector. We'll leverage the integration of Upstash Vector with Langflow to create…
Adding Semantic Search into a Strapi Application
Semantic search is a searching technique that allows users/searchers to find relevant content that matches the query by its meaning. This technique uses vector representations of the content to find…
Building a PDF Chatbot with Upstash RAGChat
Recommendation from the Upstash Team: The RAG Chat SDK is designed to create prototypes more easily and quickly. For real projects, use Langchain, LlamaIndex, and the Vercel AI SDK. Chatbots are…
We Made RAG Chat Development Easier Than Ever
Recommendation from the Upstash Team: The RAG Chat SDK is designed to create prototypes more easily and quickly. For real projects, use Langchain, LlamaIndex, and the Vercel AI SDK. Are you tired of…
Indexing Millions of Wikipedia Articles With Upstash Vector
Upstash offers a vector database that enables scalable similarity searches across millions of vectors, complete with features such as namespaces, metadata filtering, and built-in embedding models. We…
Accurate AI Responses with Peaka's RAG Pipeline and Upstash Vector
The era of artificial intelligence (AI) is here, presenting vast opportunities for harnessing data for business purposes. However, these prospects are not without their hurdles, including…
Building AI Applications using Upstash and Vercel AI SDK
In this blog post, we will delve into the AI applications that can be created using Upstash Redis, Upstash Vector, and the Vercel AI SDK. We'll explore the unique features and capabilities of each…
Building an Email Scheduler Using QStash Python SDK
In this blog, we will demonstrate how to build an email scheduler using the QStash Python SDK in combination with SendGrid and Django. Here is a live demo of the project deployed on Vercel for you to…
Handling Billions of LLM Logs with Upstash Kafka and Cloudflare Workers
Important: We desperately needed a solution to these outages/data loss. Our reliability and scalability are core to our product. At Helicone, an open-source LLM observability platform, we faced…
Running a RAG Chatbot with Ollama on Fly.io
Retrieval-Augmented Generation (RAG) is an advanced framework in natural language processing that significantly enhances the capabilities of chatbots and other conversational AI systems. It merges…
Redis Get Your S* Together
S stands for Streams, what were you expecting? Yes, there is an interesting bug in Redis Streams and I want to talk about it. A disclaimer before we start. This is not a rant. Software has bugs; we…
Upstash Ratelimit in LangChain
In this post, we will showcase how Upstash Ratelimit can be used in LangChain in Javascript and in Python. Large Language Models (LLMs) are powerful tools but can be costly. To manage their cost,…
Cutting the v0.dev Load Time in Half with Auto-Pipelining
Vercel KV is an invaluable tool for web projects, yet its extensive use can lead to a rapid increase in the number of HTTP requests, potentially impacting performance. While Redis pipelines offer a…
Build an AI Powered Mobile Chatbot with Expo and Cloudflare AI
Imagine a smartphone e-commerce striving to ensure its customers enjoy seamless shopping. But how can they achieve this goal? Research suggests that tailored product suggestions play a vital role. In…
Streamline Instagram Posts: Using Remix and QStash
In this guide, you'll learn how to publish an Instagram post without making your users wait long for it to be published on Instagram. You'll need the following: Node.js 18 or later An Upstash account…
Change Data Capture (CDC) from PostgreSQL into Upstash Vector using Kafka, Python and Quix
Change Data Capture (CDC) is a database management technique that detects and captures changes to data. The most common use case is database replication but it also unlocks other event-driven use…
Using Server-Sent Events (SSE) to stream LLM responses in Next.js
AI-powered applications that respond quickly enhance the user experience by making them feel heard and seen, instantly. With streaming, you can create such chatbots that instantly address queries or…
From the Community and for the Community: FIFO, Parallelism, Batch
Hey there, wonderful members of our Qstash community! We've had quite a busy month, and we're thrilled to share some updates with you all. Your voices and requests have been heard loud and clear, and…
Semantic Search Engine for Docs Using Upstash
Welcome to a new blog post. In this blog, we will create a semantic search engine applicable to any repository on Github using Upstash Vector. Semantic search basically means "searching with…
Trying Llama3 on Groq with Vercel AI
I have a list of things to try. Recently, after the ChatGPT and AI storm, this list is growing very fast. Groq and Vercel AI are on this list. Today, I will create a very basic app which will utilize…
Best practices for using Kafka to process 3rd-party API data
Messaging systems like Kafka are a great way to integrate with 3rd-party services. With Kafka, you can make data from services like Stripe, Salesforce, and Github available to your internal services…
Integrating Vector Search in E-commerce Platforms with Upstash Vector
Imagine an online fashion retailer that wants to give its visitors the best possible shopping experience. Now... how do they do that? As numerous studies have shown over the last few years and even…
Comparing Retrieval-Augmented Generation With Fine-Tuning
Large language models (LLMs) like GPT-4 or Claude Opus know the answer to many questions. Their creators trained them on the Internet, so they are jacks of all trades. However, this training takes a…
Kafka Connectors Deprecation Announcement
With this post we announce the deprecation of our Kafka Connectors, why we feel this is necessary and what the future looks like. Kafka Connectors was born out of a desire to innovate and meet the…
Building a Tweet Scheduler using Upstash
In this step-by-step guide, I talk about how I built a Tweet Scheduler using Upstash QStash, Upstash Redis, Next.js Server Actions and Vercel. Scheduling Twitter posts helps you maintain a consistent…
Building an Article Recommendation System with Upstash
Have you used Google or Perplexity.ai? Do you wonder how they are able to show search results that are latest and include links to online articles? Well, in this guide you'll learn how to create such…
LangChain Explained?
Since large language models (LLMs) have risen in popularity, everyone wants to integrate AI into their product. While LLMs offer new ways to interact with data that can improve the UX of a product,…
DegreeGuru: Build a RAG Chatbot using Vercel AI SDK, Langchain, Upstash Vector and OpenAI
Welcome to this blog post, where we will talk about the inception and evolution of the DegreeGuru chatbot application utilizing Retrieval Augmented Generation (RAG) approach. Here, we delve into the…
Build a Subscription Service for your NextJS & Prisma App with QStash
The most common business model in building a Saas is a subscription model where users pay a certain fee to use your service in a specified time interval. In this article, we will go through the…
From Idea to Platform, Story of Upstash
We've got two big updates from the last week. First, we announced our $10M investment led by Andreessen Horowitz. Second, we've launched Upstash Vector. Let's talk about what these changes mean for…
Building your own RAG chatbot with Upstash
In this post, I talk about how I built an open-source Custom Content RAG Chatbot with Upstash Vector, Upstash Redis, Hugging Face Inference API, Replicate LLAMA-2-70B Chat model, and Vercel. Upstash…
Easy Semantic Search with Upstash Vector
In this tutorial, we will explore how to build a semantic search engine in Python with just a few lines of code. We will be using HuggingFace and Upstash-Vector, a vector database for efficient and…
Image Similarity Search with CLIP and Upstash Vector
In this tutorial, we will explore how to build an image similarity search engine using Upstash Vector, a vector database for efficient similarity search and CLIP(Contrastive Language-Image…
Upstash Vector: Serverless Vector Database for AI and LLMs
Today, we're introducing Upstash Vector, a serverless vector database built for working with vector embeddings for AI models and LLMs. Upstash Vector will help you efficiently store and query…
How to Rate Limit Your Python Applications with Upstash Redis?
Rate limiting is a crucial mechanism used by developers to control the number of requests an application can receive within a specified time frame, by setting a limit on how frequently an action can…
Connecting Millions of Cars using EMQX MQTT and Upstash Kafka
Vehicle connectivity is set to shape the future of automotive transportation and smart mobility. In the upcoming decade, we anticipate a diverse array of transportation modes and interconnected…
Simulating QStash with Upstash Kafka and HTTP connector
In this blog post, we are going to learn how to simulate QStash by using Upstash Kafka with HTTP connector. QStash is a powerful and versatile HTTP-based messaging and scheduling service designed for…
Serverless LLM Scheduling with QStash and OpenRouter
Large language models (LLMs) are the hype right now; everyone wants to integrate them into their application and claim they’re using state-of-the-art “AI”. There are plenty of LLMs, each accessible…
Building a CDC Pipeline by Using Supabase, Upstash Kafka and TinyBird
Change Data Capture (CDC) is a technique used in databases and data management systems to identify and capture changes made to data. The primary goal of the CDC is to recognize and track alterations…
Building an Unsplash 2023 Recap using Golang, AWS Lambda, Redis and React
In this tutorial, we'll build a Unsplash 2023 Recap. Unsplash has been a hub of creativity throughout 2023, showcasing the world's most captivating moments through the lens of talented photographers.…
Designing Low Latency Segmentation Platform Using Upstash Kafka and MongoDB Connector
A segmentation platform plays a crucial role in understanding and categorizing customers, products, and other relevant data. Segmentation involves dividing a larger group into smaller, more…
Announcing Upstash Redis Python SDK v1.0.0
Today we are releasing version of the python package. It is now available on GitHub and PyPi. The package is a connectionless HTTP-based client for Upstash Redis, designed to be usable in serverless…
Build your own Message Queue with Redis and Typescript
Learn to build a high-performance message queue with Redis. Discover key steps for setup, message handling, and best practices in this concise guide.
Build a Leaderboard at Edge using Upstash Redis and Fly.io
Build a Leaderboard at Edge using Upstash Redis and Fly.io
How Upstash is Fueling PlanTripAI's Growth
In this article, I explore the pivotal role of Upstash in the development of PlanTripAI, an AI-driven trip planning startup.
A Real-Time Chat Application by Using Ably, Upstash Redis and Node.js
In this blog post, we will create a simple real-time chat application that allows users to join a chat group and communicate in real-time
Building Real-Time Notifications with Upstash Redis, Next.js Server Actions and Vercel
In this post, I talk about how I built real time notifications using Server-Sent Events with Upstash Redis, Next.js Server Actions and Vercel. Leveraging message channels in Upstash Redis can significantly enhance the communication architecture of your applications, making them more responsive and dynamic
Introducing @upstash/lock: Distributed Locking using Upstash Redis
Learn what a lock is, how it works, and how to use it with Upstash Redis for full stack applications.
Let's build our own URL Shortener with NestJS and Redis
Let's write our very own URL Shortener with NestJS and Upstash Redis
Make your own HackerNews summarizer with OpenAI, NextJS and Upstash
Craft your own HackerNews summarizer using OpenAI, NextJS and Upstash Redis/Qstash. Let's hack it!
Low Maintenance Reporting Infrastructure using Athena, DynamoDB and Quicksight
Explaining how did we implement the internal reporting infrastructure to be data-driven.
Building an AI Chatbot trained on custom content with LangChain, Faiss and Next.js
In this post, I talk about how I built an open-source Custom Content AI Chatbot with Upstash, Next.js, LangChain and Fly.io. Upstash helped me to schedule model training, offered way of generous rate…
How to Create an AI Postcard Sender with Upstash QStash
In this article, we will look at how to make an AI Postcard sending app at a high level. We will focus mainly on scheduling tasks with Upstash QStash, a serverless message queue and task scheduler.…
Would You Rather Game with LangChain, Redis, and the Query SDK
Redis is often used to speed up IO-based operations by providing a cache layer that stores data in-memory. Compared to traditional, relational databases, Upstash Redis boasts significantly faster…
Decouple Webhook Processing with QStash on Next.js
In this article I will show you how to decouple the processing of incoming webhook data on your Next.js webapp. We will be using QStash to act as our message queue. By implementing this decoupling,…
Linearizable Distributed Map On Kafka
Implementing a distributed system is hard. There are lots of algorithms just to be able to make all nodes come to the same conclusion. They are called consensus algorithms, Raft, and Paxos being the…
Benchmarking Deno KV vs Upstash Redis
About 2 weeks ago we compared the performance and cost of Cloudflare KV and Upstash Redis. This time we'll be looking at Deno KV, a Deno-native key value store running in their global edge network.…
Chat Model Response Caching With Upstash Redis in LangChain TS
LLMs can be a resource drain in production, consuming both time and money as user queries scale into the millions of tokens. Current chat models lack efficiency, often resulting in subpar user…
Upgradable Read Write Lock for Go
In this blog post, we'll explore the implementation of an upgradable read-write lock in Go. We will talk about why we needed it by giving concrete examples from the real-world use case and also…
Benchmarking Cloudflare KV vs Upstash Redis
When choosing a deployment platform, it's often very hard to compare the real-world performance between them. This is especially true for serverless platforms, who advertise super low latency due to…
Typesafe Queries for Redis
Upstash for Redis is a versatile and high-performance globally distributed data store, but it requires you to think differently about data modeling. Unlike traditional relational databases, Redis…
Introducing Schema Registry for Upstash Kafka
Today, we are thrilled to announce a significant enhancement to Upstash Kafka – the introduction of a Schema Registry! This powerful addition allows you to manage your data schemas seamlessly,…
Caching LLM Output On-Demand with LangChain, Redis and QStash
In some applications, it may not be feasible to query an LLM when a user requests it. The process of sending a prompt to an API and waiting for its response can be particularly time-consuming. For…
Efficient Multiplayer Game State Synchronization with Upstash Kafka and Node.js
Multiplayer games demand accurate and rapid synchronization of game state between all players connected to a session. The game state includes information about player positions, scores, animations,…
How to create an AI app with Upstash, Next.js and Replicate
In this article, we will show you how to rate limit a Next.js app using Upstash Redis. We will be rebuilding lofianime.com, an app that generates AI images with a Stable Diffusion model on Replicate.…
Retaining Chat History Using LangChain and Upstash Redis
LangChain provides a simple interface to conduct conversations between a human and an AI. It can be easily configured to use , enabling you to store conversation history in memory. This may be…
Announcing QStash v2
We're thrilled to announce a major milestone for us: the launch of QStash 2.0! The new version is a rewrite of our existing system, with a focus on enhanced reliability and scalability. Dead Letter…
Building Session Store with Clerk and Upstash Redis
One of the main use cases of Redis is storing and managing user sessions to maintain the state across requests in web applications. This can be done in several ways, and some of the newer serverless…
Type-safe User Authentication in SvelteKit with Lucia, Planetscale, and Upstash Redis
After our last guide on the Upstash blog scored a spot on the Bytes newsletter, I thought we'd keep the SvelteKit party going. As a Svelte super fan, I'm seeing more and more people jumping on board…
Caching OpenAI API Responses with Upstash Redis
If you used the OpenAI API, you might have noticed that it’s pretty slow and sometimes doesn’t even respond. Especially the GPT-4 model is prone to high latency responses. Also, you pay for every…
Scheduling emails in the user's timezone using QStash
At docsly, we launched a new feature to send email notifications to users with a summary of all the feedback they received in the last week or month. Sending emails isn't a new problem, but we wanted…
Connecting Upstash Redis to Cloudflare Workers
Cloudflare has recently released the Upstash Integration for the Cloudflare Workers. This makes it even easier to use Upstash products on Workers. In this blog post, we're going to use Upstash Redis…
Building a Chat Application using Upstash Kafka, Redis and Next.js
In this blog post, we will be creating a messaging application that allows users to create message clients and chat room. Additionally, users will be able to access past messages. The project…
Rate limiting requests with tRPC in Sveltekit
Recently, I found myself tasked with creating an upvote feature in an app I was working on. The app is using Sveltekit along with tRPC. Each upvote is recorded in a Redis instance. After deploying…
Announcing Python Serverless Redis and Ratelimiting SDKs
As the Upstash team, our top priority is ensuring the happiness of our users. We aim to make the user experience easy and smooth, with our SDKs playing a significant role in achieving this goal. So…
Build a Comment Section for your NextJS blog using Redis and NextAuth
We will build a comment section for your blog in this tutorial️. The tech stack we will be: NextJS 13 (in App dir) NextAuth (for Authentication) Upstash Redis (for storing comments) SWR (for Caching…
Protecting my wallet by ratelimiting OpenAI requests
Coming up with ideas for a project or a company is one thing, but finding a good name for it can be challenging. More than once, I found myself with a project but without a cool name to launch it.…
Building an open-source JIRA using Firebase, Upstash and SvelteKit
In this post, I talk about how I built a open-source alternative to Jira Kanban Board using Upstash, SvelteKit, and Firebase Storage. SvelteKit (UI and API Routes) Upstash (CRUD Operations) Tailwind…
Building an open-source alternative to LinkTree with Astro, Upstash and GitHub
In this post, I talk about how itsmy.fyi (an open-source alternative to LinkTree) is built with Upstash, Astro, GitHub and Edgio. Upstash helped me to manage (CRUD) data of all the users, offered way…
Redis and Upstash Use cases with OpenAI Applications
Recently, we have observed many developers integrating Upstash with OpenAI and other AI APIs, such as Google Cloud AI, IBM Watson. Hugging Face. In this post, we will discuss the most common use…
Sentiment Analysis on Reddit using OpenAI (ChatGPT) and Upstash Kafka
In this blog post, we will build an analysis app that utilizes sentiment analysis to evaluate social media posts. The app will send notifications to Slack whenever a new post containing a specific…
AWS Lambda with Python and Upstash Redis
In this blog post, I will guide you through building a serverless URL shortener service built on Upstash Redis, AWS Lambda (Python), and AWS API Gateway. The main purpose of this blog post is to…
Introducing Upstash Streams for Redis® Beyond Memory
Streams support has become one of the most anticipated features that we implemented so far. We have finished the implementation and we are ready to ship. Also, we are excited about telling the…
Adding a View Counter to your Next.js Blog
Inspired by Lee's blog, where every blog post is showing the number of views it has, I wanted to do something similar for my page. I'm also using Next.js 13 with the new app router but instead of…
Announcing the Rate Limit Analytics
We are thrilled to announce the latest addition to our @upstash/ratelimit library, the Rate Limit Analytics! As the library gains more popularity, we have been receiving valuable feedback on how we…
AI Powered Text Generator using Next.js, Replicate and Redis®
With AI becoming more accessible, companies like Replicate have made it easier to integrate machine learning models into projects seamlessly. In this article, I'm going to discuss how I built…
Serverless Event Sourcing and CQRS with Next.js and Upstash
Microservices are a widespread software architecture, and with serverless technologies that allow for granular deployments, they have become even more critical. Event sourcing and command query…
Realtime analytics with Vercel Edge, Kafka and MongoDB Atlas
In this post, we will show how to set up a fully functional data pipeline that spans from capturing traffic events at the edge using Vercel Edge, to collecting and processing them in Kafka through…
AWS MSK and Confluent. Are they really Serverless?
In this article, we will analyse three managed Kafka products to check if they are really serverless. 1- AWS MSK 2- Confluent Cloud 3- Upstash The biggest two requirements to be serverless: 1- Users…
Protecting your mailbox with @upstash/ratelimit
In today's digital age, email has become an essential part of our daily lives. From personal communication to business marketing campaigns, email is an effective way to reach out to your audience.…
Refresh stale data in a SvelteKit app with QStash
QStash is a message delivery solution from Upstash designed for serverless and the edge. Let’s see how we can use it in a SvelteKit app! In a previous post, I showed how to build a movie search site…
Prevent Data Leaks using Vercel Edge Functions and Upstash for Redis
Data leaks are a major issue on the internet. According to Statista, over 400 million people were affected by a data leak in 2022 alone. Nobody wants their data leaked all over the internet, so…
Upstash for Redis and Performance API: Cache where it Counts
In this article on Upstash for Redis and the Performance API, we see how you can best use Upstash for Redis in a Deno app. Upstash for Redis is a serverless database ideal for server-side caching. A…
Streaming User Events from PostgreSQL (Supabase) to Serverless Kafka
Kafka Connectors are components that can be used for importing data from external data stores to Kafka topics and exporting data from Kafka topics to external systems. Kafka Connectors can help data…
Sync Redis state to your database using QStash
In a previous article, we discussed how we can use Redis to store the state of your user's quota on a full-stack Next.js app. Doing this allows us to improve the performance of our application, as…
Introducing Upstash JSON for Redis®
I am excited to announce the JSON support in Upstash for Redis®. This means Upstash is compatible RedisJSON API. You can leverage RedisJSON API using these client libraries as well as Upstash SDK for…
Manage a quota-based SaaS application with Upstash and Next.js
In this post, we will show you how to use Upstash to create a quota system for a SaaS application, made with Next.js and Prisma. We will use Next.js API routes to create a simple API. In many SaaS…
Building Reminders for WhatsApp (GPT Online) using QStash
QStash is a task scheduler and message queue system designed for serverless environments. It's a valuable tool for developers as it allows them to set up automated workflows that run at specific…
Traffic Management for Next.js Apps Using Vercel Edge and Upstash Edge Flags
In this post, we will show how to block the traffic to your web app from a country. You can apply the same logic to manage traffic with other filters (IP address, user-agent etc). We aim a decoupled,…
Rate limit your SvelteKit app with Upstash Redis
Rate limiting is an important security measure for publicly exposed endpoints, especially if they perform intensive operations or call an external API that bills based on usage. In this post, I’ll…
Fast Anywhere with Upstash Global 2.0
I am thrilled to announce to Upstash users that we have just released an updated version of our global database (Redis). The new global database allows you to choose the regions. The nice thing is…
Realtime Code Sharing with Upstash Redis
Did you ever wonder how platforms like Codeshare are built? Did you ever try to tackle the challenges of scaling a service like that while maintaining a good developer experience for yourself? When I…
Using Edge Flags in Next.js Middleware
Edge-Flags allow you to easily manage feature flags for your serverless applications. It's built on top of Upstash Redis with powerful geolocation rules. Today I'll show you a very simple example of…
Build a Photo Restoration App Using Replicate, Next.js and Upstash
For this blog post, we'll make a few assumptions before continuing, but you should ideally have: An Upstash account where you have a Redis instance created An Replicate account with access to your…
How Upstash is powering EnvShare
envshare.dev is an open source project allowing developers to share environment variables securely with anyone. You can upload your file or type in your environment variables and they will be…
Rate Limiting Your Next.js App with Vercel Edge
In this article, I will guide you through the process of implementing rate limiting in your web application utilizing Vercel Edge Middleware and the @upstash/ratelimit library. The latter makes use…
Announcing Edge Flags
Whether you want to ship without breaking things, run A/B tests or just want to test in production, feature flags are a great way to dynamically change the behaviour of your app without redeploying.…
Using Machine Learning to Bring Your Stories to Life (with OpenAI and Next.js)
For this blog post, we'll make a few assumptions before continuing, but you should ideally have: An Upstash account where you have a Redis and QStash instance created An OpenAI account with access to…
Connect Kafka to Clickhouse with No Code and No Servers
Clickhouse is a popular database for real time analytical queries. It is commonly used together with Kafka where the data streams from Kafka to Clickhouse and users run queries on Clickhouse. In this…
Building Scheduled Payments in Web3 with QStash
Web3 is a confusing place to be for a Web2 developer. The rules here are different here, so the solutions must be as well. In Web2, building a payroll system is easy. Ask the user for their bank…
Building a realtime emergency response system
In today's article we are going to talk about how you can take advantage of Upstash to securely store and access information about a country's shelter map using Redis, and update the database in…
Vercel Edge Explained. Use cases, benefits and limitations.
Vercel provides edge runtimes which are run at locations close to the caller (client). So your serverless function is replicated to edge locations; when a user calls your endpoint, the code is…
Export Kubernetes Pod Logs to Upstash Kafka via FluentBit
FluentBit is known to be a lightweight log processor and exporter. Having tens of input and output connectors, FluentBit is one of the most popular options when developers need to keep track of…
Announcing Serverless Kafka Connectors
Here at Upstash, we provide Serverless Kafka with a per usage pricing which is loved and used extensively. There was a main ingredient missing from this until now, which is Kafka Connectors. One of…
Building a Drift Detection Engine with Upstash
In this article, we will go through the steps of building a basic drift detection engine, utilizing the power of Upstash for our online remote state, and building the necessary functions (in…
Post Most Popular NY Times articles to Discord with QStash
In this post, we will build a simple application that will fetch the most popular viewed articles from the New York Times once a day via a cron job and post them to our internal discord…
Announcing QStash Callbacks
Earlier this year, we released QStash, a message queue and scheduler designed for serverless and edge platforms. Today we're excited to announce: QStash Callbacks. QStash solved the problem of using…
AWS Lambda + Upstash Redis + Go = 🚀❤️
Serverless compute platforms are awesome, but without serverless databases they are too limited. While I was building the platform for my upcoming course, The Elements of CI/CD, I wanted a serverless…
Adding Feature Flags to Your Next.js App with Upstash Redis
Updates are part of every software; you need to fix bugs, add new features, and generally iterate to make things more secure, reliable, or faster. But coupling new features or changes in general with…
Serverless Messaging for Deno Deploy
Deno Deploy is a distributed system that runs javascript, typescript and webassembly at the edge, worldwide. You don't need to deal with infrastructure at all, but instead just upload your code and…
Serverless Realtime Analytics for Next.js with Vercel Edge, Upstash Kafka and Tinybird
In this article, we will build an end to end pipeline to analyze our web site traffic on real time. At the end we will be able to query the traffic coming to our Next.js application. We will run a…
Asynchronous serverless processing with in-app notifications using QStash and novu
Today we are looking at a common problem for many developers: A user has kicked of a task, which you want to process in a serverless function. If that task may fail, you might want to retry it…
Build an authenticated API with Next.js API Routes and Upstash Redis
In this article we will build a minimal but fully functional authenticated Rest API service, leveraging Next.js API Routes and Upstash Redis, that we will use as a superfast storage/cache system both…
Announcing Vercel Integration v2
Over 18 months ago, we created the Vercel - Upstash integration, allowing developers to easily create Redis databases and add their connection secrets as environment variables in Vercel. A lot has…
Get Started with Sidekiq and Upstash Redis on Fly.io
Sidekiq is a popular background processing library in Ruby language. With this library, we can distribute our processes to what is called instead of doing the heavy work on the server itself. What…
Using LaunchDarkly with Redis
LaunchDarkly is a feature management tool for software applications. It provides feature flags to the development teams to control their software product releases and their tests. Testing code live…
Guaranteeing webhook delivery in Strapi using QStash
Today we will look at how to automatically retry your Strapi webhooks using QStash. Strapi is a very popular open-source content management system in the javascript ecosystem. It allows you to…
Get Started with Astro and Redis
Getting started with Astro and Redis: quick start tutorial building a notes app with serverless Upstash data and Cloudflare workers.
Rate Limiting at Edge with Cloudflare Workers and Serverless Redis
In this tutorial, we will show how to rate-limit your applications using Cloudflare Workers and Upstash Redis. We will use the rate limiting SDK which keeps data in Upstash Redis. Create one or more…
Building an Email Scheduler with Vercel Functions and QStash
Serverless systems are easy to start, but they can have some growing pains later in their lifecycle. They’re stateless by nature, and liking all the moving parts isn’t easy. Let your serverless…
Announcing Upstash Pulumi Provider
Upon request from our community, we have developed Pulumi Provider for Upstash Redis and Kafka, which is now publicly available. Pulumi is an automated provisioning tool similar to Terraform but it…
Periodic Data Updates with Next.js and Vercel Serverless Functions
For many applications, there is a need to insert or update data in your database regularly. For example fetching metrics from somewhere or tracking the price of items. You might want to update these…
Building a Guest Book on the Edge with SvelteKit, Upstash Redis® and Vercel
This post was updated in December 2022 and is now compatible with SvelteKit 1.0. Vercel recently launched Edge Functions, which let you run JavaScript code on their globally-distributed edge network.…
Next.js Edge API Routes and Serverless Redis on Vercel
Recently, the Next.js team has announced Next 12.2. The most exciting news for me is the Edge API Routes. Edge API Routes enable developers to run their APIs at edge locations. This is great news if…
QStash: Messaging for the Serverless
We are proud and excited to announce QStash 🔥🔥🔥 Formally, QStash is a message queue and task scheduler designed for serverless runtimes. Informally, QStash is a glue for your serverless functions.…
Collect Cloudflare Workers Logs to Serverless Kafka
In this tutorial, we will show how to collect logs from Cloudflare Workers to Serverless Kafka. Create a Kafka cluster and topic using Upstash Console or Upstash CLI. Copy the Webhook URL to be used…
Distributed tracing with go-redis, Upstash and OpenTelemetry
In this tutorial, you will learn how to connect to Upstash Redis database using go-redis client and monitor performance of your app using distributed tracing. go-redis is a popular Redis client for…
Rate Limiting Next.js API Routes using Upstash Redis
In this article, we will show how to rate limit your Next.js API routes using the Upstash Rate limit SDK Create a Redis database using Upstash Console or Upstash CLI. Copy the and for the next steps.…
Using Apache Spark with Serverless Kafka
The data collected from users in real-time is very essential for improving the product, reacting on time, and growing much faster. For collecting, preparing, and storing data, we can use the…
Announcing Upstash CLI
One of the primary goals of Upstash is to enable every developer to create Upstash resources easily using various tools. In the past, we have announced Developer Api, Terraform Provider, and now it…
Preference Storage for DApps using Metamask with Next.js
Web3 applications such as DAOs and DApps are getting more and more popular. By the premises of Web3, these platforms are supposed to provide a more personal and customized experience for their users…
Serverless Rate Limiting
Maintaining your system's availability is one of the most critical tasks for any product. Unfortunately, people might abuse it by overwhelming your resources, or you want to limit the usage and…
Announcing Upstash Chatbox
Instant, interactive communication is crucial for satisfactory user experience. This is why many companies provide a live chatbox widget on their websites. This is a chatbox widget, alongside with…
Get Started with Serverless Cloud, Next.js and Upstash Redis
Serverless Cloud is a backend platform from the team who created the . It provides Cloud runtime, CLI and SDK in a single platform to boost developer productivity. In this post, we will build a…
Scaling Laravel with Serverless Redis
Laravel is a popular PHP framework for building scalable, high-performance web applications. In this article, we will learn how to use serverless Redis to scale Laravel applications by storing the…
Getting Started with Netlify Edge Functions and Serverless Redis
Recently, Netlify announced Edge Functions where you can run your code at edge locations on Deno runtime with globally low latency. In this post, we will build a simple app which runs Netlify Edge…
Run Fly.io Apps with Serverless Redis
Fly.io is a great platform where you can distribute your application globally. When your application is global, your data needs to be global. You can run regular Redis as a Fly.io app but the problem…
Reusing HTTP connections with 'keepalive' in Serverless
Whenever you make an HTTP request to a server, your computer and the server create a connection, sending some data back and forth and closing the connection afterward. This is an excellent system, as…
Serverless Node.js URL Shortener App powered by Upstash Kafka and Materialize
This is a Node.js URL shortener app that uses Cloudflare Workers. The app is powered by Cloudflare Workers and Upstash Redis® for storing data and Kafka for storing the click events along with…
Serverless Kafka Real World Example: Content Moderation
In this post, we will write a very basic example which showcases content moderation for web applications using: Next.js AWS Lambda Serverless Kafka (Upstash) Serverless Redis (Upstash) Sightengine…
Serverless Redis Caching for Strapi
Delivering a project on time usually means you need to leverage as much existing technology as possible. Every decision you make that leads to a custom implementation must consider that you also need…
Introducing Redis 6 Compatibility
Since our initial release last year, Upstash was compatible with Redis® API up to version 5. Our Redis offering was lacking commands such as , , and features such as ACL which were introduced in…
Stream Twitter to Serverless Kafka
Upstash offers serverless Kafka topics. In this blog post, we are going to demonstrate how to publish to and read from a Kafka topic with only a few clicks using Upstash. The complete project code…
Building A To-Do List with Blitz.js & Redis
Blitz.js is a React framework that was originally forked from Next.js. Today we’ll build a Blitz.js To-Do application that stores tasks in Upstash. Without further ado, let’s get started! You’ll need…
Send React Native Logs to Serverless Kafka
Tracking logs and errors in a software product is very essential for reliability and maintainability. Kafka is one of the most powerful solution for collecting/storing logs and activities. Use cases…
Serverless Birthday Slackbot with AWS Chalice and Upstash Redis
Sometimes it is the best to create reminders for your annual events so that you don't forget and miss those special dates. If you and your team/friends are using Slack, then it is a good idea that…
Using Render with Serverless Redis
Render is a powerful infrastructure platform that offers instant deploys and autoscaling, among other things. Today we'll be making a simple Next.js application with Upstash and then deploying it on…
Build a Serverless Slackbot with Vercel and Upstash Redis
Slackbots are awesome tools if you use Slack and want to automate some tasks or ease your workflow. However, managing your own server might be a bit of an overhead. That is why, we created this…
Blazing Fast Websites with Remix on Cloudflare and Upstash Redis
When developing a website or web app, nobody wants to spend hours of their time just on speed optimization. The problem is that a fast website is incredibly important and performance is often a…
Announcing Upstash Redis SDK v1.0.0
Today, we are announcing v1.0.0. is the only connectionless (HTTP based) Redis client that is designed for serverless and compatible with Cloudflare Workers and fastly. Version 1.0.0 is a complete…
SvelteKit TODO App with Redis
In this post, we will write a simple TODO app using SvelteKit and Serverless Redis (Upstash). SvelteKit is a framework for building web applications of all sizes, with a beautiful development…
Announcing Upstash Terraform Provider with Kafka Support
It has been some time since we released our very first version of the Upstash Terraform Provider, which helped developers automate their Redis database management. Since then, we have worked on and…
Remix TODO App with Redis
In this post, we will write a simple TODO app using Remix and Serverless Redis (Upstash). Remix is a full stack web framework that lets you focus on the user interface and work back through web…
Global Cache for Netlify Graph with Upstash Redis
Yesterday, Netlify announced a new feature called Netlify Graph. My colleague recently highlighted similar missing piece in the picture and Netlify made a good step towards a solution. Basically…
Cloudflare Workers KV vs Upstash Redis
This blog post has a more recent version here If you are using Cloudflare Workers, Upstash Global Redis and Workers KV are probably your best options to keep your data. In this post, I will briefly…
Developer API V2 Released!
It has been a while since we have developed the first version of the developer api where we have supported creating and editing Upstash redis databases and Upstash teams. Since then we have brought…
Feedback Widget for Next.js Applications
User feedback is important to guide product decisions. We built a widget to help you get feedback from your users. It is a React component which calls Next.js API as its backend. The backend API…
Best Databases for Next.js
Next.js enables developers to build full stack applications with the Server Side Rendering capability. Vercel and Netlify help them to write the backend API with serverless functions. So the next…
Integrate Stripe and Kafka Using Webhook API
In this post, we will show how to push Stripe events to Apache Kafka using Upstash Webhook API. Once data is in Kafka there are many use cases how you can use it: Processing payment events (with…
In-app Announcements with Serverless Redis and React Native
In a mobile application, there may be a need to send some information, warnings or guidance to the end-users in the app. One way to do this is sending in-app announcements to the users. In this blog…
Next.js Authentication with NextAuth and Serverless Redis
Next.js is one of the most popular frontend frameworks with React at its core. It can generate static HTML or render dynamically on the client and server. This makes it a versatile tool for…
Building a survey app with Upstash Redis and Next.js
Nowadays, it is hard to image the IT world without Redis databases. In Stackoverflow's Developer Survey published in 2021, the in-memory database enjoyed great popularity and was chosen as the most…
Send Github Events to Kafka Using Vercel Functions
In this post, we will showcase how to send Github events to Kafka. We will use Vercel functions as a webhook to send events to Upstash Kafka. You can send all types of repository events to Kafka. We…
Using Upstash Redis as a Session Store for Remix
As full stack web framework Remix provides APIs to deal with common web server use cases. This post will focus on sessions and why and how you can use Upstash to store them. The Remix docs have a…
Using Upstash Redis with Remix
Remix is a new take on what it means to be a fullstack React framework, focusing on existing web standards and tying the frontend closely to the backend. This tight coupling is a breath of fresh air…
Shipping from Logstash to Kafka and analysing with Cloudflare Workers
Logstash is one of the most popular log shipping product that can collect logs from multiple sources and can ship to multiple targets. In this blogpost, we will ship logs to Upstash Kafka using…
Building React Native Apps Backed by AWS Lambda and Serverless Redis
In this post, we will use React Native, Serverless framework and Upstash to develop a mobile application for viewing and updating a leaderboard. We will use React Native to develop the mobile…
Kafka Use Cases for Web Developers
Kafka is a messaging and stream processing platform with many use cases. In this post we will talk about the use cases most relevant to web applications. You can track your user’s behaviour on your…
Waiting Room for your Next.js App Using Edge Functions
In this post, we will create a waiting room for your Next.js application using Vercel Edge functions and Upstash Redis. You can check the source code and the demo app. The waiting room is useful when…
Use Redis® in Fastly Compute
This example uses an older version of Fastly CLI. Check this article for an up-to-date version. In this post, we will write a simple application which will run on Fastly Compute@Edge. The application…
Upstash Launches Serverless Kafka
We are thrilled to announce Upstash Kafka today. Upstash Kafka is the first Serverless Kafka offering. With a pay-per-request model, you can have a fully managed Kafka cluster without paying hundreds…
Getting started with Nuxt 3 and Serverless Redis
If you ever had to build an app that tracks the application usage, restrict resources utilisation or fetch data from the cache to increase app performance, then you would know that Redis® is the…
Fullstack Serverless app with Flutter, Serverless Framework and Upstash(REDIS) - PART 2
Welcome to part 2 of this tutorial series. In the first part, we saw how to build a REST API using Upstash, Serverless Framework, and Redis. In this part, we'll build a mobile application using…
Fullstack Serverless app with Flutter, Serverless Framework and Upstash(REDIS) - PART 1
(Update: Edge Caching feature is deprecated. For low latencies at edge, use our global configurations. Learn more) In this post, we'll be building a serverless mobile application with Flutter,…
Building SvelteKit Applications with Serverless Redis
This post was updated in December 2022 and is now compatible with SvelteKit 1.0. SvelteKit is a framework for building web applications on top of Svelte, the UI framework that builds your app at…
Build Your Own Waiting Room for Your Website with Cloudflare Workers and Serverless Redis
In this blog post, we will implement a waiting room page for your website. A high number of visitors on your website is generally a good thing but not always. Sudden high traffic may easily overwhelm…
Getting started with Next.js Edge Functions
Today, the Vercel team announced the Next.js Edge functions. Edge functions allow developers to run their code at the servers distributed globally. This means your code will be executed at the…
Upstash as a Serverless Database for Edge
(Update: Edge Caching feature is deprecated. For low latencies at edge, use our global configurations. Learn more) Upstash started its journey with a mission to be the best database option for your…
Global Database for Serverless and Edge
In recent years, serverless architectures and edge computing are becoming very popular for application deployments. But storing application state and the data inside a serverless and/or edge function…
AWS Lambda vs Cloudflare Workers
In this article, I will compare AWS Lambda and Cloudflare Workers based on my experiences and observations during developing applications to showcase Upstash use cases. Both are similar in that they…
Best Databases for Serverless
Serverless is great for developers who want to build an application end to end with lowest maintenance and financial cost. Serverless functions enable you to run your own code without maintaining the…
Serverless Battleground - DynamoDB vs Firestore vs MongoDB vs Cassandra vs Redis vs FaunaDB
This is a continuation of the blog post published in April,2021. We built a sample application which compares the performance of leading serverless databases using a common web use case and…
5 ms Global Redis Latency with Edge Caching
(Update: Edge Caching feature is deprecated. For low latencies at edge, use our global configurations. Learn more) 1 ms latency is easy with Redis when the database and clients are in the same…
Stateful AWS Lambda with Redis® REST
AWS Lambda pioneered serverless space. Many developers think that serverless is the future of development. It gives you the true pay-per-use model, relieves you from the maintenance and scaling of…
Announcing Upstash Terraform Provider
We are thrilled to announce that now our Upstash Terraform Provider is publicly available. Our core principle is always being developer friendly. We have announced REST Api recently. Now it is time…
Pipeline REST API on Serverless Redis
Upstash supports the REST API in addition to the native Redis API. The REST API helps developers access their Redis without connection issues from serverless and edge functions. However, if you…
The Most Minimalist Next.js TODO app
In this article, we will build a Serverless Next.js based TODO application. We will try our best to make it minimalist. It will not have any database connection. It will not have any extra dependency…
Redis® @ Edge with Cloudflare Workers
Computing at the Edge is one of the most exciting capabilities in recent years. CDN allows you to keep your files closer to your users. Edge computing allows you to run your applications closer to…
More Resilient and More Scalable: Upstash with Multi-Zone Replication
We are happy to announce Multi Zone Replication capability. When enabled the data is replicated to multiple availability zones. Multi zone replication provides you high availability and better…
Speed up your Next.js application with Redis
Next.js is a very successful web framework which brings together server side rendering and static site generation. SSG speeds up your web site thanks to CDN caching meanwhile SSR helps you with SEO…
Rate Limiting Your Serverless Applications
One of the best things about the serverless is its ability to scale even in case of huge traffic spikes. But unfortunately, scaling is not free both financially and technically. That’s why developers…
Roadmap Application with Next.js, Redis and Auth0
We have been developing example applications to showcase how easy and practical to develop serverless applications with Redis. So far, the most popular of those examples is the Roadmap Voting…
Latency Comparison Among Serverless Databases: DynamoDB vs FaunaDB vs Upstash
In this article, I will compare the latencies of three serverless databases DynamoDB, FaunaDB, Upstash (Redis) for a common web use case. I created a sample news website and I am recording database…
Challenge of Serverless: Database Connections
(Update: GraphQL API is deprecated. Instead, you can use the REST API) Designing a database for serverless, the biggest challenge in our mind was to build an infrastructure which supports per request…