Theo's Typesafe CultTTC
Theo's Typesafe Cult2y ago
6 replies
niko

Best practice for counting streams

Im building podcast app and I've question what is the best solution for counting streams? in postgres database should I just save array of people who streamed?
{
 userId: String,
 streamedAt: Date
}


that comes in my mind as solution and is there any better way?
(also that content must has analytics, dashboard and etc)
Was this page helpful?