Articles tagged edge.

Build a Leaderboard at Edge using Upstash Redis and Fly.io

Build a Leaderboard at Edge using Upstash Redis and Fly.io

Valon Januzaj
Valon Januzaj

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…

Kay Plößer
Kay Plößer

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…

Thomas Cazade
Thomas Cazade

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…

Enes Akar
Enes Akar

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…

Andreas Thomas
Andreas Thomas

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…

Andreas Thomas
Andreas Thomas

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…

Enes Akar
Enes Akar

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.…

Andreas Thomas
Andreas Thomas

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…

Tudor Zgîmbău
Tudor Zgîmbău

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…

Enes Akar
Enes Akar

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…

Noah Fischer
Noah Fischer

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…

Andreas Thomas
Andreas Thomas

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.…

Geoff Rich
Geoff Rich

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…

Noah Fischer
Noah Fischer

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…

Noah Fischer
Noah Fischer

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…

Andreas Thomas
Andreas Thomas

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…

Enes Akar
Enes Akar

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…

Enes Akar
Enes Akar

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…

Enes Akar
Enes Akar

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…

Enes Akar
Enes Akar

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…

Enes Akar
Enes Akar

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…

Enes Akar
Enes Akar

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…

Enes Akar
Enes Akar

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…

Enes Akar
Enes Akar