Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 31, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 31, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 31, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 31, 2025

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025

      Elden Ring Nightreign already has a duos Seamless Co-op mod from the creator of the beloved original, and it’ll be “expanded on in the future”

      May 31, 2025

      I love Elden Ring Nightreign’s weirdest boss — he bargains with you, heals you, and throws tantrums if you ruin his meditation

      May 31, 2025

      How to install SteamOS on ROG Ally and Legion Go Windows gaming handhelds

      May 31, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Oracle Fusion new Product Management Landing Page and AI (25B)

      May 31, 2025
      Recent

      Oracle Fusion new Product Management Landing Page and AI (25B)

      May 31, 2025

      Filament Is Now Running Natively on Mobile

      May 31, 2025

      How Remix is shaking things up

      May 30, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025
      Recent

      Windows 11 version 25H2: Everything you need to know about Microsoft’s next OS release

      May 31, 2025

      Elden Ring Nightreign already has a duos Seamless Co-op mod from the creator of the beloved original, and it’ll be “expanded on in the future”

      May 31, 2025

      I love Elden Ring Nightreign’s weirdest boss — he bargains with you, heals you, and throws tantrums if you ruin his meditation

      May 31, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Databases»SonyLIV Improves CMS Performance By 98% On MongoDB Atlas

    SonyLIV Improves CMS Performance By 98% On MongoDB Atlas

    January 7, 2025

    As one of the world’s leading technology and media companies, Sony needs little introduction. Founded in 1954, Sony’s portfolio spans game & network services, music, pictures, entertainment technology & services, imaging & sensing solutions, financial services, and more.

    SonyLIV Technology, the digital arm of Sony Pictures Networks, has a strong footprint in India where it operates a leading over-the-top (OTT) video-streaming platform. OTT platforms deliver streamed content via internet-connected devices, a popular way of consuming content in India.

    A core part of SonyLIV’s operations is built on MongoDB Atlas.

    OTTs platforms handle massive amounts of datasets across video, audi, and text formats; this is only expected to keep growing as the number of OTT video users in India is set to reach 634.3 million by 2029. As a result, a strong content management system (CMS) is central to ensuring users can easily discover and receive new recommended content, while also facilitating a smooth, enjoyable viewing experience.

    At MongoDB.local Bengaluru in September 2024, Sumon Mal, Vice President of Backend Engineering at SonyLIV, described how the company built a new CMS platform—‘Blitz’— using MongoDB’s Node.js SDK and React Native SDK. Blitz hosts 495,000 documents that need to be easily accessible and editable by SonyLIV’s team, as well as by end-users.

    MongoDB’s flexible document model was chosen because it could handle that scale, as well as handle the large, dynamic video files that OTT businesses are built on.

    The challenge

    Before transitioning to MongoDB Atlas, SonyLIV relied on a legacy relational database, which posed four key challenges:

    • Poor searchability: The content stored in the relational database was not easily searchable. This was detrimental to and compromised the end-user experience.

    • Operational overhead: The rigid structure of the relational database hindered the engineering team from adapting quickly to dynamic and evolving data requirements.

    • Complex maintenance: Managing and maintaining the database was a complex, time-consuming task. The rigid data model from the legacy database was slowing down development speed and time to market.

    • Slow content updates: Due to the lack of bulk processing capabilities, publishing new content or updating existing videos took a significant amount of time—up to half a day each. This delay hindered SonyLIV’s ability to rapidly respond to content demands or push new updates to their users.

    “This was a business risk,” said Sumon. “These [challenges] pushed [us] to go for the modernization of this particular tech stack.”

    The first step of this modernization was to relaunch SonyLIV’s streaming platform on Amazon Web Services (AWS). However, the project required converting 60,000 hours of video into multiple output formats and scaling to support more than 1.6 million simultaneous users.

    SonyLIV’s legacy relational database was unable to handle that sort of scale. The company’s new CMS platform could not meet the increased demand unless it had more power and flexibility.

    Migration to MongoDB Atlas: improved performance and lowered search query latency by 98%

    SonyLIV chose to build Blitz on top of MongoDB Atlas and to migrate SonyLIV’s decade-old data. Concurrently, the engineering team started publishing all of its new content via the new CMS underpinned by the MongoDB Atlas technology.

    Suman’s team was able to work on both fronts, uploading and publishing new content while the old data was being migrated. Suman also highlighted the importance of working closely with the MongoDB Professional Services team to unlock the full power of the document model and the Atlas platform in a way that would meet SonyLIV’s specific needs.

    For example, during the development phase, MongoDB Professional Services helped identify opportunities to optimize the new stack, such as API latency. Operations such as searching for data took up to 1.3 seconds. MongoDB’s Professional Services team immediately determined this was below anticipated response times and recommended an alternative approach that yielded immediate results.

    “I know very well how, as a developer, we think we will go read some blogs, YouTube videos nowadays, AI solutions. But the best way to do it is to ask the subject matter experts. So the MongoDB Professional Services team helped us to optimize it,” said Suman.

    Improving performance with MongoDB Atlas Search

    Suman and his team worked closely with the MongoDB Professional Services to improve index optimization and workload isolation as the number of data sets MongoDB Atlas needed to process increased.

    “One of the problems was our overall collection size and the capabilities in terms of the indexes,” said Suman. “Day by day, we are increasing the amount of new content that is getting published (thousands of pieces of content being added every single day). And on top of that, we have the decade-old data.”

    Out of 5 lakh [500,000], close to 2.7 lakh [270,000] documents were archived in SonyLiv’s legacy system. These documents were moved to online archiving on MongoDB Atlas.
    “Now, if you take any other database […] you literally have to shift your data to somewhere else for archival; you don

    MongoDB Atlas’ Online Archive feature enabled SonyLIV to segregate data, which in turn improves performance greatly. Additionally, datasets are more precise and respond much faster, including while employing multiple indexes.

    SonyLIV also shifted toward using MongoDB Atlas Search to optimize the performance caused by $regex queries (sequences of characters used to search and locate specific sequences of characters that match a pattern). The team created an Atlas Search index on the collection. The native full-text search capabilities simplified the architecture and improved performance.

    The latency went from 1.3 seconds to 0.022 to 0.030 seconds, a 98% performance gain.

    This resulted in a flexible, high-performance CMS that reduces time-to-market and enhances user experience. The system now handles over 500,000 content items and supports real-time updates with minimal latency.

    The key takeaway from this story is the outcomes that can be derived from combining MongoDB Atlas’ powerful technology with the unique expertise from our teams on the ground. This is what can accelerate customers’ projects, help them unlock more value out of the platform, and ultimately bring flawless customer experiences to the world, faster.

    However, we should not underestimate the value MongoDB’s team of experts can bring. Ultimately, it is about helping customers use the technology as effectively as possible, and derive the greatest impact from the MongoDB Atlas platform.

    “If there is a black swan event and if I call [MongoDB subject matter expert], I know he will respond, and his team will be there to support me. I don’t need to worry,” said Sumon. “Our collaboration goes further, and we optimize the overall MongoDB case to build our application […], and behind the scenes empower all the content seamlessly publishing every single day.”

    Learn more about MongoDB Atlas on our product page.

    Get started with MongoDB Atlas Search today by visiting our product page to learn more.

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleReimagining user experience of links in Markdown
    Next Article How To Design For High-Traffic Events And Prevent Your Website From Crashing

    Related Posts

    Security

    New Linux Flaws Allow Password Hash Theft via Core Dumps in Ubuntu, RHEL, Fedora

    June 1, 2025
    Security

    Exploit details for max severity Cisco IOS XE flaw now public

    June 1, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Best Civilization 7 mods so far — Steam, Nexus, CivFanatics, and everything you need to know

    News & Updates

    Building SaaS Website #04: Creating the Pages (Part 2)

    Development

    Rilasciati GNOME 48.2 e 47.7:l’ambiente desktop porta varie migliorie e correzioni di errori

    Linux

    CVE-2025-37820 – Xen-netfront NULL Pointer Dereference and Memory Leak Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Development

    How to Build a Food Delivery App Like Zomato: Cost, Features, and Process

    December 18, 2024

    In today’s fast-paced world, food delivery apps like Zomato have transformed the dining experience. These…

    Localhost dangers: CORS and DNS rebinding

    April 3, 2025

    If you upgrade the SSD in your ROG Ally, adding a heatsink to it should be your next job

    January 8, 2025

    The best Motorola phones of 2024: Expert tested and reviewed

    June 30, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.