Solved

High request loads

Posted on 2009-05-08
2
223 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 125 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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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