<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by AD on Medium]]></title>
        <description><![CDATA[Stories by AD on Medium]]></description>
        <link>https://medium.com/@anushadatta?source=rss-d000da6ed03e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dG8fTgiwGdX7xyIsUlSuvA@2x.jpeg</url>
            <title>Stories by AD on Medium</title>
            <link>https://medium.com/@anushadatta?source=rss-d000da6ed03e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:11:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anushadatta/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A knock on creativity’s door]]></title>
            <link>https://anushadatta.medium.com/a-knock-on-creativitys-door-4cb14f811ed9?source=rss-d000da6ed03e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cb14f811ed9</guid>
            <dc:creator><![CDATA[AD]]></dc:creator>
            <pubDate>Wed, 13 May 2020 18:00:46 GMT</pubDate>
            <atom:updated>2020-05-13T18:00:46.512Z</atom:updated>
            <content:encoded><![CDATA[<p>Creativity elevates, expands and transforms what it means to be alive. Can we explain how much of our emotional response to art is a product of our brains reacting to a pattern and structure, and exactly what it means to be creative in mathematics, art, language and music?</p><p>Can AI ever compose a symphony, write a prize-winning novel or paint a masterpiece? Will it have the power to move us?</p><p>And if so, would we be able to tell the difference?</p><blockquote>The Creativity Code, Marcus du Sautoy</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cb14f811ed9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Netflix: System Architecture]]></title>
            <link>https://anushadatta.medium.com/netflix-system-architecture-aff09de0fc29?source=rss-d000da6ed03e------2</link>
            <guid isPermaLink="false">https://medium.com/p/aff09de0fc29</guid>
            <category><![CDATA[software-design]]></category>
            <category><![CDATA[netflix]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[system-architecture]]></category>
            <dc:creator><![CDATA[AD]]></dc:creator>
            <pubDate>Tue, 12 May 2020 16:41:30 GMT</pubDate>
            <atom:updated>2020-05-12T16:41:30.593Z</atom:updated>
            <content:encoded><![CDATA[<p>A little dive into what goes on behind the scenes every time you decide to Netflix &amp; chill!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gFiqBnF78PrGEmrN" /><figcaption>Photo by <a href="https://unsplash.com/@freestocks?utm_source=medium&amp;utm_medium=referral">freestocks</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>Netflix Inc., is an American media-services provider and production house, which provides video streaming services, allowing its users to watch a wide variety of Television shows, movies, documentaries and more on Internet-connected devices. It follows a subscription-based model, wherein members pay monthly to access these services, and can cancel anytime.</p><p>Netflix operates in two clouds, Amazon Web Services (AWS) and OpenConnect, to provide high quality video-streaming to Netflix’s users. The software system can also be divided into three parts- the client, backend and Content Delivery Network (CDN). The client refers to the user interface on any device used to browse, stream videos or run any of the other services offered by Netflix. Every process that takes place before the user hits ‘Play’ on a video is handled by the backend, which runs in AWS. Lastly, all those processes which run after the user hits ‘Play’, is handled by OpenConnect — Netflix’s in-house custom global content delivery network (CDN).</p><p>Thus, by controlling and running these three sections, Netflix achieves complete vertical integration within its software system.</p><p><strong>Architecture Diagram</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ric2VfF4_Ft78vtN" /><figcaption>Netflix Architecture Design</figcaption></figure><h3>Quality Attributes of System</h3><ol><li><strong>Availability:</strong> The Netflix system is always available to its users — at any time of the day and from any location. This is achieved with the help of Open Connect — Netflix’s dedicated CDN solution, which has several OCA servers of various scales distributed across the world, with videos from the Netflix platform proactively cached and updated everyday. These OCAs are embedded within ISP networks, and in or close to Internet exchange locations (IXPs). Thus, users can access any video from any location in the world, as their device will simply access the video from the nearest OCA server through the strongest available network.</li><li><strong>Efficiency:</strong> Netflix built its CDN network for the streaming of videos by embedding their OCA servers within Internet Service Provider (ISP) networks or close to Internet Exchange Locations (IXPs). This removed the need for Netflix to operate its own network or build data centers, like it did in the past, thus saving them a lot of resources. <br>Netflix also improves its system efficiency by storing older user viewing history (which consists of a large number of records) in the Cassandra database, in the compressed form, and updating it only when necessary, thus reducing data footprint to a huge extent.</li><li><strong>Flexibility:</strong> Considering the fast-growing number of users Netflix is acquiring everyday, the software system and its resources can easily be scaled up to support any number of users in any location of the world, through its flexible and efficiently built Content Distribution Network (CDN).</li><li><strong>Interoperability: </strong>Netflix can be interfaced with multiple devices for a single client, which proves the interoperability nature of the software system. For example, a user streaming a video on his Apple iPhone, can continue watching the same video from where he left off on his iPad, TV or any other kind of device that carries the Netflix application.</li><li><strong>Portability: </strong>Clients can easily access Netflix and use its streaming services from any platform they desire, as long as it remains connected to the Internet. Through its encoding (or transcoding) process, Netflix creates an innumerable number of files for just a single video — in order to support the different video formats which look and run best on the various platforms or type of devices (also known as the encoding profile of the video). Thus, through this process, Netflix can now support 2200 different devices.</li><li><strong>Reliability </strong>&amp; <strong>Robustness:</strong> Netflix’s OCA servers all operate independently of each other. Hence, users streaming from one particular OCA are not affected when the other OCA servers fail. In the unanticipated situation wherein an OCA fails, the user’s Netflix client will immediately switch to another OCA and resume streaming. The same happens when too many people in a single location may be streaming from the same OCA or when the network becomes too overloaded.</li></ol><p>Additionally, Netflix’s backend system makes use of Apache Chukwa, which is built on top of the Hadoop Distributed File System (HDFS) and Map/Reduce framework. Thus, it inherits Hadoop’s scalability and robustness in order to perform data related operations and monitor the widely distributed Netflix system.</p><h3>Architecture Design Style</h3><p>The design style of Netflix’s architecture is heterogeneous in nature, predominantly ‘Client and Server’ design type. This allows the system to handle millions of users on the platform browsing and consuming thousands of video titles. Each user’s account is constantly updated with recommendations and new video titles from the server side. On the server side, it is estimated that Netflix uses around 700 micro-services to control and run each of the many components that make up the entire Netflix service. Hence, its software system is designed based on a ‘Micro-services’ architecture, in which each micro-service’s code and resources are its own. In the situation wherein two applications or micro-services need to communicate with each other, they use an Application Programming Interface (API) in order to do so. Hence, developers can make any number of changes, irrespective of the scale, to each application/micro-service as long as it aligns well with the API.</p><h3>Special Techniques &amp; Solutions by Netflix</h3><p>Netflix uses a plethora of special techniques to refine and fine-tune its services for the customers. One such feature is Netflix’s use of Machine Learning based algorithms for its recommendation process. The customer only sees 40 to 50 video titles on the home screen out of the thousands in Netflix’s library based on customer’s preferences, viewing history and current viewing trends in the user’s city or country, all of which is calculated and decided by Netflix’s proprietary machine learning algorithm. This algorithm also customizes the header images of the video titles for the customers which will make them more likely to watch that particular title. Big data processing and analytics, collecting a lot of user data and making sense of it is also something Netflix uses for its recommendation and customization features.</p><h3>Discussion &amp; Conclusion</h3><p>Netflix has effectively made use of OpenConnect and AWS to create a CDN that provides a seamless user viewing experience for its customers. Moreover, the strong emphasis on reliability may be observed by the usage of EVcache, 3 AWS regions and Hystrix. Additionally, the sophisticated recommendation techniques employed with the help of ElasticSearch, Spark and Machine Learning algorithms provide an appealing personalization touch for its customers.</p><p>Undoubtedly, Netflix’s ingenious architectural choices have positioned it as a global leader in the industry, with the quality of services provided second to none.</p><p>Hope this was an enjoyable read. Now time for me to get back to watching Money Heist. Happy streaming!</p><p><em>References:<br></em>- <a href="https://www.netflix.com/sg/">https://www.netflix.com/sg/</a> <br>- <a href="http://highscalability.com/blog/2017/12/11/netflix-what-happens-when-you-press-play.html">http://highscalability.com/blog/2017/12/11/netflix-what-happens-when-you-press-play.html</a> <br>- <a href="https://medium.com/@narengowda/netflix-system-design-dbec30fede8d">https://medium.com/@narengowda/netflix-system-design-dbec30fede8d</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aff09de0fc29" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>