One of the challenges I faced with building the Loops For You algorithm is real time relevance vs performance.
The original PoC algo would cache the most recent videos you watched and pass the ids into the database query, but that is inefficient in many ways, especially at scale.
Then I discovered bloom filters and spent a few hours adding support, updating redis to v8 (with bf support) on my dev env + prod server.
It worked. Despite the phpredis library not supporting bloom filters...