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

Serverless Realtime Analytics for Next.js with Vercel Edge, Upstash Kafka and Tinybird

Blog post from Upstash

Post Details
Company
Date Published
Author
Enes Akar
Word Count
1,017
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

The article outlines the process of building a real-time data pipeline to analyze website traffic using a combination of Vercel Edge, Upstash Kafka, and Tinybird. The setup involves creating an architecture where Vercel Edge Middleware collects user and geo-locational information from requests to a Next.js application, which is then sent to a serverless Upstash Kafka cluster. Tinybird is used to run real-time queries on the collected Kafka data and create API endpoints for analysis. The process includes setting up a Next.js application with Vercel Edge functions, configuring Upstash Kafka to handle traffic data, and using Tinybird to query and visualize the data collected, enabling insights into page views by city within the last 15 minutes. The article emphasizes the simplicity and scalability of using serverless technologies to achieve real-time data analysis without extensive server management or infrastructure setups.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 4 1,535 387 131 +14%
Serverless 4 663 125 57 -18%
Data Pipeline 1 279 93 42 -13%
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.