Solved

High request loads

Posted on 2009-05-08
2
222 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
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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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