Skip to content
Overview

Trending with editorial control

Show what is popular right now, and let editors boost, block or pin content instantly, without retraining anything.

Trending with editorial control: a task counts recent plays and stores the list in Dragonfly, editorial rules are stored next to it, and the endpoint applies boost and kill-switch rules before answering

The need

Everyone, including anonymous visitors, should see what is popular now. At the same time editors need to push a campaign, and to pull an item immediately when there is a rights problem or an error.

How the stack handles it

Step 1 · Collect

Play events from all users

The same event stream as every other use case. No user history is needed.

Step 2 · Compute

On a schedule, the trending task counts which items were played recently and ranks them.

Step 3 · Store

The list and the rules in Dragonfly

The ranked list is stored for instant reads. Editorial rules are kept as small lists next to it, so changing them does not need a deploy.

Step 4 · Serve

The endpoint applies rules, then answers

The endpoint reads the list and the rules, boosts, pins or removes items, re-sorts, and returns the result. This list is also the fallback for other endpoints.

Step 5 · Measure

Preview, then watch the effect

Check the result in Spectrum before it goes live, then watch click-through to see whether a boost helps.

Why it is built this way

  • The model is slow to change and the rules are fast to change, so each is kept where it suits.
  • Because rules are read at request time, a kill switch acts on the next request.
  • Trending needs no personal data, so it works for everyone and is safe as a fallback.

Variations

  • Run one trending list per category, such as news, sport and music.
  • Use trending as the starting point and let collaborative filtering personalise on top.

Go deeper