Articles tagged serverless.
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…
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…
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…
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.
Vercel Workflow vs Upstash Workflow
A detailed comparison of Vercel Workflow and Upstash Workflow.
Fast, Cost-Effective MCPs with Redis
How Upstash Redis powers production MCP servers
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…
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 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…
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…
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…
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…
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…
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…
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…
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…
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 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.…
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.…
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…
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…
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…
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…
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…
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…
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…
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…
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.
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…
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…
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…
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…
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…
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…
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…
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…