---
title: "Discussion on \"System Design Drill Day 20: Counting at Scale for Views and Trending\" | Hashnode"
description: "Discussion on \"System Design Drill Day 20: Counting at Scale for Views and Trending\". How to count product views, unique viewers and \"trending now\" without melting MySQL, using Redis counters, HyperLogLog and time-bucketed sorted sets."
url: "https://hashnode.com/posts/system-design-drill-day-20-counting-at-scale-views-and-trending/6b14d8183f22e04a5ec53ce7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [System Design Drill Day 20: Counting at Scale for Views and Trending](https://blog.anishansari.com.np/system-design-drill-day-20-counting-at-scale-views-and-trending?utm_source=hashnode&utm_medium=feed)

How to count product views, unique viewers and "trending now" without melting MySQL, using Redis counters, HyperLogLog and time-bucketed sorted sets.

40m ago · 12 min read · blog.anishansari.com.np  
Read the article

-   [#system-design](https://hashnode.com/tag/system-design)
-   [#backend](https://hashnode.com/tag/backend)
-   [#redis](https://hashnode.com/tag/redis)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#interview-preparation](https://hashnode.com/tag/interview-preparation)

## Written by

[Anish Ansari](https://hashnode.com/@anish78)

@anish78 · kathmandu, Nepal

  
[View profile](https://hashnode.com/@anish78)

Food,Code and Cloud Computing. You can support here :https://www.buymeacoffee.com/anishansari

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
