Solved

High request loads

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now