Filmin: API design having TVs as the user client

Carlos Buenosvinos
Rigor Guild
Published in
2 min readApr 10, 2021

At Rigor Guild, we love movies! 🎞 🍿 and we are extremely happy to announce that we are helping one of the most important streaming platforms in Spain, Portugal, and Mexico. Let me introduce you Filmin and an idea of what we are working with its technical team.

Filmin’s the main website for Spain

Let me introduce Filmin to those who don’t know it. Filmin is an award-winning online film and series platform that has been operating in Spain since 2008 and in Portugal since 2016, being the first company to offer a flat-rate service in Spain.

Filmin is currently also available in Mexico through FilminLatino, a platform created in collaboration with IMCINE. Filmin’s shareholders include film companies that have made innovation, risk, and an unwavering commitment to quality their reason for being: Avalon Distribución, El Deseo, Golem, Tornasol, Vertigo Films, Versus Entertainment, Wanda Vision y Cameo, LMC, Nazca, Seaya and Alta Films.

Eduard Terradas, CTO of Filmin

A part of helping in improving the testability and following a bit more decoupled architecture as we typically do, this time there is one interesting challenge. Filmin has to provide film streaming to not only modern smart TVs but also to ones that are not so modern or smart. This means that the available CPU on the client-side is not too much so we need to care special with payloads, a number of requests, serialization, caching, and much more. That’s why, how to design a proper API, leveraging CQRS for the read models and other API design alternatives like GraphQL come into the game.

We are looking forward to sharing with you more about the details. Meanwhile, may the rigor be with you.

--

--

Carlos Buenosvinos
Rigor Guild

XP, Scrum, Agile, Lean, DevOps, Management 3.0, DDD, Microservices, Testing, Tech Management & PHP. More info on https://blog.carlosbuenosvinos.com