Cloud Blog: How Memorystore helps FanCode stream 2X more live sports

Source URL: https://cloud.google.com/blog/products/databases/fancode-migrates-from-aws-to-memorystore-for-redis-cluster/
Source: Cloud Blog
Title: How Memorystore helps FanCode stream 2X more live sports

Feedly Summary: Editor’s note: FanCode needed to deliver low-latency, personalized sports content to millions of fans while scaling rapidly. By migrating to Google Cloud and adopting Memorystore for Redis Cluster, FanCode built a fully integrated, scalable backend infrastructure that supports real-time features and high-traffic live events. Today, FanCode streams 2x more live events annually with consistent performance and reliability, enhancing fan engagement and meeting the demands of modern sports enthusiasts.

At FanCode, India’s premier sports destination, we bring the thrill of sports to fans across India. With a diverse catalog of content, FanCode satisfies every fan’s craving, whether it’s cricket in Mumbai or football in Goa. And for fans of speed, we offer something truly special: As the exclusive streaming home for Formula One racing in India, we deliver all the on-track action with unparalleled coverage, bringing you closer to one of the world’s most exciting motorsports.
Our goal at FanCode is to deliver content reliably and in real time, with features like live scores, player stats, and tailored recommendations based on fan preferences, viewing history, and regional interests. But as our platform grew to serve millions, managing this level of content delivery became increasingly complex.
Redis plays a critical role in our backend infrastructure, providing the essential caching layer to support fast data retrieval, low-latency streaming, and real-time processing. Originally, we hosted Redis on AWS, but as we migrated to Google Cloud, maintaining Redis separately introduced latency issues that impacted our service’s speed and reliability. Other self-hosted Redis providers had unsustainable pricing models and would have required extensive changes to our core adapter SDKs, stretching our small team’s resources. We needed Redis to align with our Google Cloud infrastructure for a more flexible, scalable, and fully integrated solution — and Memorystore for Redis Cluster was our answer.

aside_block
), (‘btn_text’, ‘Start building for free’), (‘href’, ‘http://console.cloud.google.com/freetrial?redirectPath=/products?#databases’), (‘image’, None)])]>

Scoring low latency with Memorystore for Redis Cluster
FanCode’s application infrastructure, hosted entirely on Google Cloud, uses a load balancer to direct traffic to an edge service that routes requests to a gateway managing multiple microservices. Each microservice relies on a dedicated database and Memorystore for Redis Cluster to maintain fault tolerance, performance, and scalability. Memorystore’s flexibility lets us start with smaller clusters for lighter workloads and expand as needed — without requiring major adjustments to our architecture. 
As we migrated from AWS, we separated Redis for minimal disruption. Non-persistent workloads were transitioned with zero downtime as cache keys refreshed automatically. For persistent workloads, we used Redis Input/Output tools (RIOT) to carefully migrate data, redirecting requests through a proxy to maintain continuity. Google Cloud’s support throughout this process allowed us to maintain business continuity and optimize performance.
With Memorystore for Redis Cluster sitting at the core of our infrastructure, our scalable content delivery pipeline can support thousands of live sports streams annually and uninterrupted viewing across web, mobile, and TV platforms, even during peak traffic. This fully managed service integrates seamlessly with our Google Cloud environment, so we can scale easily as demand increases. During live events, where large spikes in concurrent viewers require both high performance and reliability, this caching layer is especially crucial.
Furthermore, we’re able run advanced analytics within this pipeline to provide personalized recommendations based on fan preferences. Real-time data processing powers interactive features like live scores, match statistics, and player analytics, transforming fan engagement into a more immersive experience. Memorystore for Redis Cluster supports these backend functions with fast data caching and retrieval, enabling us to connect fans with real-time insights. 
Streaming millions of moments with consistent performance
With Google Cloud, FanCode is not just scaling but elevating the fan experience. We’re breaking new ground in sports media, creating a platform that’s as interactive and dynamic as our fans. Today, FanCode serves over 160 million users and streams billions of minutes of live sports content annually, with sub-second latency that ensures smooth viewing. 
Managed services have lightened our operational load, as our small team can focus on innovation rather than database maintenance. The ability to scale Redis clusters based on real-time demand optimizes both performance and costs while strong SLAs provide high availability, which is critical during high-stakes events. Downtime during these moments can mean lost revenue and disappointed fans, so Google Cloud’s stability has been key in supporting a seamless experience. 
Our infrastructure now allows us to support over 15,000 live events each year — more than double the previous year’s volume. The reliability and scalability of Google Cloud have been essential to this growth, delivering uninterrupted, high-quality streaming that keeps fans coming back for more. With this robust, integrated infrastructure, FanCode is meeting the demands of modern sports enthusiasts and achieving our business goals.
Ready to get started with your own Memorystore implementation? 
Check out our product and documentation pages to learn more about Memorystore for Redis Cluster.

AI Summary and Description: Yes

**Summary:** The text highlights FanCode’s successful migration to Google Cloud and the implementation of Memorystore for Redis Cluster to enhance its backend infrastructure, resulting in improved scalability, low-latency content delivery, and an elevated fan experience. This case study is particularly relevant for professionals in cloud computing and infrastructure security, showcasing effective strategies for managing high-traffic applications.

**Detailed Description:**
The provided text outlines how FanCode, India’s premier sports platform, optimized its backend infrastructure by transitioning from AWS to Google Cloud and integrating Memorystore for Redis Cluster. This move significantly improved the platform’s performance and reliability, essential for delivering real-time sports content to millions of fans. Key points include:

– **Migration and Integration:**
– Transitioned from AWS to Google Cloud to leverage better performance.
– Adopted Memorystore for Redis Cluster to address latency issues that arose from previously hosting Redis separately.
– Maintained Redis functionality during migration with minimal disruption using innovative techniques like Redis Input/Output tools (RIOT) to transfer data smoothly.

– **Infrastructure Design:**
– Built a fully integrated, scalable backend that supports thousands of live sports streams annually.
– Utilized a load balancer to effectively manage traffic between multiple microservices and databases, ensuring fault tolerance and peak performance.

– **Performance Enhancements:**
– Achieved sub-second latency for live video streaming, crucial during high-demand events.
– Enhanced operational efficiency, allowing the team to focus on development and innovation rather than database maintenance, thanks to managed services.

– **Business Impact:**
– Increased streaming capacity, serving over 160 million users with a diverse content catalog including exclusive sports like Formula One racing.
– Doubled the volume of live events streamed annually, indicating robust growth and improved fan engagement.
– Established reliable SLAs to ensure high availability during critical moments, crucial for minimizing downtime and maximizing revenue.

Overall, this case study illustrates a powerful example of how migrating to a cloud environment and leveraging managed services can lead to significant improvements in performance, scalability, and user satisfaction in a high-stakes environment like sports streaming. It emphasizes the importance of choosing the right infrastructure and solutions in meeting modern demands, offering valuable insights for technology and security professionals seeking to enhance their own platforms.