# Vercel — Building the Black Friday-Cyber Monday live dashboard

- Company: Vercel (vercel.com)
- Announced: 2024-12-24T13:00:00+00:00
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://vercel.com/blog/building-the-black-friday-cyber-monday-live-dashboard
- Record: https://forck.live/items/20910-building-the-black-friday-cyber-monday-live-dashboard
- Subject: v0 / AI SDK / AI Gateway

Vercel published a technical walkthrough of the Black Friday-Cyber Monday live dashboard it built, covering backend optimizations such as rolling-window queries with Upstash KV for cost efficiency and Incremental Static Regeneration for caching, as well as frontend techniques using requestAnimationFrame and rate-of-change calculations to create smooth real-time counter animations.

## Evidence

Verbatim from https://vercel.com/blog/building-the-black-friday-cyber-monday-live-dashboard:

> To minimize the amount of data to scan, we used a rolling window . Rather than querying from the beginning of Black Friday every time, we queried a smaller five-minute time period instead: SELECT count() FROM requests WHERE timestamp > now() - INTERVAL 5 MINUTE

---

Record: https://forck.live/items/20910-building-the-black-friday-cyber-monday-live-dashboard
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
