Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

High request loads

Posted on 2009-05-08
2
Medium Priority
?
226 Views
Last Modified: 2012-05-06
HI,

Can somebody explain how sites like, YouTube can have 1000 users all streaming the same vidio clip at once?  I thought there would be some sort of limit much lower. HHow do they achieve this?  I am sure they spread the load over numerous servers, so is it just hat they have thousands hundreds of servers hosting a particular clip?

Similarly, web sites, e.g banking websites, what if 1000's of people log in on moonday morning to see if their interst has been paid.  I guess Ive experienced not being able to log in during busy times, but how do they make it available to soo many people?
0
Comment
Question by:sublimation
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
keithdmitchell earned 500 total points
ID: 24339079
Hello,

The difference between websites like youtube is that they share the load among many clustered servers and use load balancing.  You also have to keep in mind that for every web server they have that streams media that there is also a sql server in the backgroup and  likely a different server to handle the thousands of requests for converting the multiple video types to flash files (since youtube does not stream avi's, mpegs, wmvs, mov's or xvid files).

So for your answer, it is load balancing. There is a certain number of servers that are setup and are mirrored (database's) and load balanced. Meaning if you access the site and the server knows it can't handle the load , it will move your session to a server that can handle the load. The more servers that are in the configuration, the more complex that network becomes as it has to evenly distribute the traffic and all the data on the servers has to be consistant and constantly updated across the servers.

You can look at this more indepth by viewing this wiki link - http://en.wikipedia.org/wiki/Load_balancing_(computing)

This link is for a book on server load balancing, by O'Reilly and is a good read - http://books.google.com/books?id=3qKogfm3CygC&dq=load+balancing&printsec=frontcover&source=bl&ots=v-pMurt5m5&sig=OD6Wzfaq2GAkXlevZNpCNWLgNZE&hl=en&ei=iH4ESsXBMs-wmAfrnNzcBA&sa=X&oi=book_result&ct=result&resnum=3#PPR12,M1

Another good example is Cloud Computing. Cloud computing for lack of a better term is load balancing on a larger scale.

Hope that helps you.

Keith D Mitchell
0
 
LVL 4

Author Closing Comment

by:sublimation
ID: 31579542
Thanks!!
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question