Presentation is loading. Please wait.

Presentation is loading. Please wait.

A CASE STUDY PRESENTATION ON “THE DATABASE BEHIND MYSPACE”

Similar presentations


Presentation on theme: "A CASE STUDY PRESENTATION ON “THE DATABASE BEHIND MYSPACE”"— Presentation transcript:

1 A CASE STUDY PRESENTATION ON “THE DATABASE BEHIND MYSPACE”
By Gaurav Bhoi Monika Tanna

2 INTRODUCTION MySpace is a social networking site.
Launched in November 2003, and by may 2007,it had million member accounts. The technical requirements for such social networking sites are different because they are heavily trafficked. So in initial stage, MySpace has adopted two web servers DATABASE SERVER MS SQL SERVER

3 This was suitable for small to medium sites for simplicity.
But when accounts increased to users, one database server is not enough, so MySpace added three SQL servers databases ,one served as master database which receives new data and copied them to other two databases. Now when accounts increased to 2 million, speed problem arises, so MySpace switched to vertical partitioning model

4 These model supports distinct functions of web site, such as log-in screen, user profiles and blogs.
Further when accounts increases to 3 million users, log- in problem arises (20% to 40% some day) so MySpace switched to virtualized storage architecture. These helps in eliminating possibility of overload. Also MySpace have added layer of servers between database servers and web servers. This reduced load on database server. Still they face overload problem, there developers are trying to redesign the web site’s database, software and storage system, but there job is never done.

5 QUESTIONS & ANSWERS

6 1.What kind of databases and database servers does MySpace use?
In its initial phases, myspace operated with two web servers communicating with one database server and a microsoft SQL server database. After the number of accounts exceeded 500,000 the site added more SQL Server databases: one served as a master database, the others focused on retrieving data for user page requests. After two million accounts were activated, MySpace switched to a vertical partitioning model in which separate databases supported distinct functions of the Web site. MySpace later installed a layer of servers between the database servers and the Web servers to store and serve copies of frequently accessed data objects.

7 2.Why is database technology so important for a business such as MySpace?
Almost everything myspace receives from and serves to its users are data objects like pictures, audio files and video files. The objects are very individualized and attached to a certain person. Its databases must make the objects readily available to anyone requesting access to that entity. Database technology is the only technology that accomplishes the mission.

8 3. How effectively does MySpace organize and store the data on its site?
In its infancy, myspace used two web servers communicating with one database server. That was adequate when the site had a small number of users who were updating or accessing database objects. Obviously that won’t work with tens of millions of users. Unfortunately, myspace still overloads more frequently than other major web sites. With a log-in error rate of 20 to 40 percent on some days, the site is not effectively organizing or storing data at all.

9 4. What data management problems have arisen
4. What data management problems have arisen? How has MySpace solved, or attempted to solve, these problems? PROBLEMS Inadequate storage space on its database servers. Slow access or no access through its log-in application.

10 SOLUTION MYSPACE USE MySpace has attempted to fix these problems by adding more Web servers and more database servers. MySpace developers continue to redesign the Web site’s database, software, and storage systems, to keep pace with its exploding growth. BUT Workloads were not distributed evenly between servers which caused inefficient use of resources their job is never done.

11 THANK YOU


Download ppt "A CASE STUDY PRESENTATION ON “THE DATABASE BEHIND MYSPACE”"

Similar presentations


Ads by Google