Preview

Scalability at Youtube

Powerful Essays
Open Document
Open Document
1578 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Scalability at Youtube
Scalability in Distributed Systems (10%) 09488987 David Kearns

-Problems YouTube was facing
A big problem YouTube were facing during its rise in popularity was that the number of developers went up by two but the number of videos being watched went up as Mike tells us in the YouTube vid ‘9 orders of magnitude’. In the video Mike also describes a fatal mistake he had made when coding the interface between the servlet and template layer he used a dictionary which is a bad idea. Like a lot of programming errors this was a lot harder to fix later on in the project as opposed to the early life of the program. Other problems Mike describes is splitting the entire project into components, you want to be able to swap components in and out. There’s not going to be one individual or programmer who will know the whole bulk of the code inside out, having so many people working on a particular project can become difficult to organize. This is all about good software design but it is important that components work with each other. The majority of YouTube was initially coded with python and as Mike points out when we watch a video it still executes primarily through this. ‘It’s about what not to do in python ’ he states later on in the video suggesting throughout the years there has been a lot of trial and error in the solving of some problems. Another problem YouTube may have faced was its million lines of python code and maintaining this code in its different components.

Database problems, early years: * MySQL used to save ‘information data’/Meta-data. * YouTube went to a common evolution in servers i.e. Single server evolved into master with multiple read-slaves. ‘sharding approach’. * Updates causing slow replication/cache miss. * Solution to this was to split data traffic into two clusters.

Database: Later years:

- YouTube evolved by switching to database partitioning; which is basically building smaller databases.
- Split into shards

You May Also Find These Documents Helpful

  • Good Essays

    Nfib vs. Sebelius

    • 888 Words
    • 4 Pages

    In the Supreme Court case NFIB v. Sebelius, Roberts establishes his opinion on the role of the court, taking in consideration John Marshall’s opinion of judicial review in Marbury v. Madison; judicial review is present in both cases but in different ways. Roberts was aware that allowing Congress the power to control the purchase of healthcare services under the Commerce Clause was overstepping its boundaries, and so his opinion stating that Congress cannot control inactivity created precedential value.…

    • 888 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Rhetorical Web Audit

    • 2073 Words
    • 9 Pages

    A website is made for its audience. Therefore, the website should change when its audience does and evolves based on its audience’s wants and needs. Per Peter Brophy Director of the Centre for Research…

    • 2073 Words
    • 9 Pages
    Good Essays
  • Powerful Essays

    Over four months, a very short period of time, a small accounting firm grew from five employees to fifty. The existing network architecture could no longer support the exponential growth. Peer-to-Peer networks work very well in a small office environment. Once the ratio of employees exceeds around five employees resources, file storage and a plethora of other network disasters begin. The obvious solution was to recommend a change. As explained in the proposal the proposed upgrade from a peer-to-peer network architecture to client/server was an imminent necessity.…

    • 6041 Words
    • 25 Pages
    Powerful Essays
  • Good Essays

    Prison experiences are shared by those who spent much time behind the bars and most of the experiences shared exemplify how cruel the prison system really was showing that no rehabilitation was occurring due to an excess in punishment. The Los Angeles Times published an article, “Cruel and Usual Punishment in Jails and Prisons,” in which ex-prisoners were interviewed and shared stories of their time in prison, many of which showed how corrupt prisons have truly become. The stories described prisons as appalling and cruel, one prisoner describe being handcuffed every day to his bunk while he had to remain only in his underwear, another prisoner described how it was to live in a cell located directly under broken toilet pipes for weeks resulting…

    • 349 Words
    • 2 Pages
    Good Essays
  • Better Essays

    First, it must be understood how YouTube has become a part of today’s society. Wesch marks the “Numa Numa” video as the mark of the start of YouTube. This video gets popular in Italy. From Italy it goes to Europe in general, after this video heads to Japan and somehow lands itself on a computer in a suburb of New Jersey. According to Wesch, most of the videos on YouTube are homemade and intended for less than 100 people; however, he also states almost 100,000 of the 200,000 videos on Youtube are addressed to a YouTube community. This community can range from anyone to anywhere. Wesch references Robert Putman, author of “Bowling Alone: America’s Declining Social Capital”, who’s idea is that community has been lost over time. Over time, locally owned mom and pop grocery stores turn into Wal-Mart super stores on every corner. The face to face communications has been lost over the years, but people are starting to replace it with social media online.…

    • 927 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    The Hulu Revolution

    • 362 Words
    • 2 Pages

    The internet has revolutionized every aspect of our lives. From business, socail interactions, and entertainment. Here at Hulu we have been at the forfront of the video on demand market. There is alot of competion regard this space. Large networks have been attempting to slow down the revolution but it is clear that this is no longer the future, rather, the present.…

    • 362 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    As mentioned before, students are not able to learn efficiently with all of the internet filters. Youtube has many educational videos on various subjects, however in most schools…

    • 298 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Akamai Case Analysis

    • 3451 Words
    • 14 Pages

    Online video accounts for roughly 40% of the overall CDN market and in the next 5 years will be a major aspect of future growth in the industry. As Akamai tries to focus on video streaming, will their complex, expensive network support the platform needed to compete on price and size in regards to video? This question leads us into the next key issue for Akamai: should they switch from a decentralized network to a more cost effective centralized model while they have the resources to do so? A centralized network poses advantages such as less maintenance because of fewer servers but also can lead to a loss in reliability and speed for the consumers; a definite tradeoff. Further, another key issue is whether their future business strategy should focus on high end (complex) services or advanced services such as full web delivery and application acceleration which would see less…

    • 3451 Words
    • 14 Pages
    Good Essays
  • Powerful Essays

    Google video offered premium content and payment had to be made through Google checkout. Whereas, YouTube users could upload, view and share video clips free of charge.…

    • 1873 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    YouTube: YouTube’s mission is to provide fast and easy video access and the ability to share videos…

    • 290 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Co-Optitude

    • 605 Words
    • 3 Pages

    Youtube, for the uninitiated, is an internet video sharing website which has grown and prospered in the last eleven years, giving millions of people access to kitten videos, dog videos, various 'other' animal videos, nut shot videos, vlogs, let's plays, makeup tutorials, news videos, and of course Co-Optitude. Co-Optitude stands above the rest because, although they began as any other "Let's Play" show, they've pioneered the "Let's Play Badly" subgenre and have mastered it. No other show can compare.…

    • 605 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Infant Observation

    • 1286 Words
    • 4 Pages

    Infant Observation On Wednesday, April 3rd, 2002, Lauren an African American, dark brown hair, brown eyed girl was one of the infants that our class observed. Lauren was born on November 7th 2000 and was a full term baby. Right now Lauren is about 1-½ years old and weighs approximately 32 lbs. Lauren lives with her Mother, Father, and 2 older brothers. Lauren's parents take her to a daycare center almost every day with some exceptions.…

    • 1286 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    For this concert report analysis, I was not able to actually go see a concert in person. So I watched a video on youtube since that was an option for this assignment. On Youtube, I watched an orchestral concert that was performed by the Pittsburgh Symphony Orchestra. From what I saw, the string instruments that were being played by the Pittsburgh Symphony Orchestra in this particular video are; the violin, the violas, the cellos, the double bass, and the harp. And the wind instruments that were being played are…

    • 578 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    viacom vs. youtube

    • 6553 Words
    • 27 Pages

    Cabranes, C.J. This appeal requires us to clarify the contours of the "safe harbor" provision of the Digital Millennium Copyright Act (DMCA) that limits the liability of online service providers for copyright infringement that occurs "by reason of the storage at the direction of a user of material that resides on a system or network controlled or operated by or for the service provider." 17 U.S.C. § 512(c).…

    • 6553 Words
    • 27 Pages
    Good Essays
  • Satisfactory Essays

    The company proposed a new way to distribute content over the Internet. The reason why this technology is invented is a real problem related to the Internet. The main problem is that existing routing systems on the Internet are not able to serve new needs of consumers. Consumers moved to more sophisticated multi-media applications and routing system became overloaded. It resulted with delays in the system and slowness of the web in peak periods.…

    • 1796 Words
    • 8 Pages
    Satisfactory Essays

Related Topics