Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Prevent Data Leaks using Vercel Edge Functions and Upstash for Redis

Blog post from Upstash

Post Details
Company
Date Published
Author
Kay Plößer
Word Count
2,139
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

Data leaks are a significant concern online, affecting over 400 million people in 2022, and necessitating the creation of secure applications to protect user privacy. A practical strategy to prevent data leaks is to filter problematic data before it reaches users or other services, which requires efficient filters and low-latency infrastructure. This concept is demonstrated by building a frontend and backend application using serverless edge technology with Upstash for Redis and Vercel Edge Functions to filter profanities. The application regularly updates a Redis database using Vercel's cron feature, and employs Next.js for seamless development and deployment on Vercel, taking advantage of edge functions and free-tier services. Implementation involves creating a GitHub repository, setting up a Next.js project, implementing functions to refresh and filter data, and deploying the application on Vercel, using Upstash Redis for data storage. The guide also covers the creation of API routes that return filtered data in JSON format and the process of manually testing and deploying the app, emphasizing the importance of regularly updating filter data to ensure its effectiveness.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 3 895 170 78 +67%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.