0
My Other Computer Is A Data Center: The Sector Perspective on Big Data<br />July 25, 2010<br />1<br />RobertGrossman<br />...
What Is Small Data?<br />100 million movie ratings<br />480 thousand customers<br />17,000 movies<br />From 1998 to 2005<b...
What is Large Data?<br />One simple definition is consider a dataset large if it is to big to fit into a database<br />Sea...
Part 1What’s Different About Data Center Computing?<br />4<br />
Data center scale computing provides storage and computational resources at the scale and with the reliability of a data c...
A very nice recent book by Barroso and Holzle<br />
7<br />Scale is new<br />
Elastic, Usage Based Pricing Is New<br />8<br />costs the same as<br />1 computer in a rack for 120 hours<br />120 compute...
Simplicity of the Parallel Programming Framework is New<br />9<br />A new programmer can develop a program to process a co...
Elastic Clouds<br />Large Data Clouds<br />Goal: Minimize cost of virtualized machines & provide on-demand.  <br />HPC<br ...
2003<br />10x-100x<br />1976<br />10x-100x<br />data<br />science<br />1670<br />250x<br />simulation science<br />1609<br...
12<br />
13<br />
Part 2.  Stacks for Big Data<br />14<br />
The Google Data Stack<br />The Google File System (2003)<br />MapReduce: Simplified Data Processing… (2004)<br />BigTable:...
Map-Reduce Example<br />Input is file with one document per record<br />User specifies map function<br />key = document UR...
Example (cont’d)<br />MapReduce library gathers together all pairs with the same key value (shuffle/sort phase)<br />The u...
Applying MapReduce to the Data in Storage Cloud<br />map/shuffle<br />reduce<br />18<br />
Google’s Large Data Cloud<br />Compute Services<br />Data Services<br />Storage Services<br />19<br />Applications<br />Go...
Hadoop’s Large Data Cloud<br />Applications<br />Compute Services<br />20<br />Hadoop’sMapReduce<br />Data Services<br />N...
Amazon Style Data Cloud<br />Load Balancer<br />Simple Queue Service<br />21<br />SDB<br />EC2 Instance<br />EC2 Instance<...
Evolution of NoSQL Databases<br />Standard architecture for simple web apps:<br />Front end load balanced web servers<br /...
NoSQL Systems<br />Suggests No SQL support, also Not Only SQL<br />One or more of the ACID properties not supported<br />J...
Different Types of NoSQL Systems<br />Distributed Key-Value Systems<br />Amazon’s S3 Key-Value Store (Dynamo)<br />Voldemo...
Cassandra vsMySQLComparison<br />MySQL > 50 GB Data Writes Average : ~300 msReads Average : ~350 ms<br />Cassandra > 50 GB...
CAP Theorem<br />Proposed by Eric Brewer, 2000<br />Three properties of a system: consistency, availability and partitions...
Eventual Consistency<br />All updates eventually propagate through the system and all nodes will eventually be consistent ...
Part 3.  Sector Architecture<br />28<br />
Design Objectives<br />1. Provide Internet scale data storage for large data<br />Support multiple data centers connected ...
Sector’s Large Data Cloud<br />30<br />Applications<br />Compute Services<br />Sphere’s UDFs<br />Data Services<br />Secto...
Apply User Defined Functions (UDF) to Files in Storage Cloud<br />map/shuffle<br />reduce<br />31<br />UDF<br />UDF<br />
System Architecture<br />User account<br />Data protection<br />System Security<br />Metadata<br />Scheduling<br />Service...
33<br />
Terasort Benchmark<br />Sector/Sphere 1.24a, Hadoop 0.20.1 with no replication on Phase 2 of Open Cloud Testbed with co-lo...
MalStone<br />36<br />entities<br />sites<br />dk-2<br />dk-1<br />dk<br />time<br />
MalStone<br />Sector/Sphere 1.20, Hadoop 0.18.3 with no replication on Phase 1 of Open Cloud Testbed in a single rack.  Da...
Parallel Data Processing using Sphere<br />Input data segment is processing by Sphere Processing Engine (SPE) on each slav...
Disks<br />Input Segments<br /><ul><li> Files not split into blocks
 Directory directives
 In-memory objects </li></ul>UDF<br />Bucket Writers<br />Output Segments<br />Disks<br />
Application-Aware File System<br />Files are not split into blocks<br />Users supply appropriate sized files to Sector<br ...
Sector Summary<br />Sector is fastest open source large data cloud<br />As measured by MalStone & Terasort<br />Sector is ...
Part 4. Sector Applications<br />
App 1: Bionimbus<br />43<br />www.cistrack.org  & www.bionimbus.org<br />
App 2: Bulk Download of the SDSS<br />44<br /><ul><li>LLPR = local / long distance performance
 Sector LLPR varies between 0.61 and 0.98 </li></ul>Recent Sloan Digital Sky Survey (SDSS) data release is 14 TB in size.<...
App 3: Anomalies in Network Data<br />45<br />
Upcoming SlideShare
Loading in...5
×

My Other Computer is a Data Center: The Sector Perspective on Big Data

2,088

Published on

This is a keynote I gave on July 25, 2010 at the 2nd Workshop on Large-scale Data Mining: Theory and Applications (LDMTA 2010).

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,088
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
69
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Transcript of "My Other Computer is a Data Center: The Sector Perspective on Big Data"

  1. 1. My Other Computer Is A Data Center: The Sector Perspective on Big Data<br />July 25, 2010<br />1<br />RobertGrossman<br />Laboratory for Advanced Computing<br />University of Illinois at Chicago<br />Open Data Group<br />Institute for Genomics & Systems BiologyUniversity of Chicago<br />
  2. 2. What Is Small Data?<br />100 million movie ratings<br />480 thousand customers<br />17,000 movies<br />From 1998 to 2005<br />Less than 2 GB data.<br />Fits into memory, but very sophisticated models required to win.<br />
  3. 3. What is Large Data?<br />One simple definition is consider a dataset large if it is to big to fit into a database<br />Search engines, social networks, and other Internet applications generate large datasets in this sense.<br />
  4. 4. Part 1What’s Different About Data Center Computing?<br />4<br />
  5. 5. Data center scale computing provides storage and computational resources at the scale and with the reliability of a data center.<br />
  6. 6. A very nice recent book by Barroso and Holzle<br />
  7. 7. 7<br />Scale is new<br />
  8. 8. Elastic, Usage Based Pricing Is New<br />8<br />costs the same as<br />1 computer in a rack for 120 hours<br />120 computers in three racks for 1 hour<br />
  9. 9. Simplicity of the Parallel Programming Framework is New<br />9<br />A new programmer can develop a program to process a container full of data with less than day of training using MapReduce.<br />
  10. 10. Elastic Clouds<br />Large Data Clouds<br />Goal: Minimize cost of virtualized machines & provide on-demand. <br />HPC<br />Goal: Maximize data (with matching compute) and control cost.<br />Goal: Minimize latency and control heat.<br />
  11. 11. 2003<br />10x-100x<br />1976<br />10x-100x<br />data<br />science<br />1670<br />250x<br />simulation science<br />1609<br />30x<br />experimental science<br />
  12. 12. 12<br />
  13. 13. 13<br />
  14. 14. Part 2. Stacks for Big Data<br />14<br />
  15. 15. The Google Data Stack<br />The Google File System (2003)<br />MapReduce: Simplified Data Processing… (2004)<br />BigTable: A Distributed Storage System… (2006)<br />15<br />
  16. 16. Map-Reduce Example<br />Input is file with one document per record<br />User specifies map function<br />key = document URL<br />Value = terms that document contains<br />“it”, 1“was”, 1“the”, 1“best”, 1<br />(“doc cdickens”,“it was the best of times”)<br />map<br />
  17. 17. Example (cont’d)<br />MapReduce library gathers together all pairs with the same key value (shuffle/sort phase)<br />The user-defined reduce function combines all the values associated with the same key<br />key = “it”values = 1, 1<br />“it”, 2“was”, 2“best”, 1“worst”, 1<br />key = “was”values = 1, 1<br />reduce<br />key = “best”values = 1<br />key = “worst”values = 1<br />
  18. 18. Applying MapReduce to the Data in Storage Cloud<br />map/shuffle<br />reduce<br />18<br />
  19. 19. Google’s Large Data Cloud<br />Compute Services<br />Data Services<br />Storage Services<br />19<br />Applications<br />Google’s MapReduce<br />Google’s BigTable<br />Google File System (GFS)<br />Google’s Stack<br />
  20. 20. Hadoop’s Large Data Cloud<br />Applications<br />Compute Services<br />20<br />Hadoop’sMapReduce<br />Data Services<br />NoSQL Databases<br />Hadoop Distributed File System (HDFS)<br />Storage Services<br />Hadoop’s Stack<br />
  21. 21. Amazon Style Data Cloud<br />Load Balancer<br />Simple Queue Service<br />21<br />SDB<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instance<br />EC2 Instances<br />EC2 Instances<br />S3 Storage Services<br />
  22. 22. Evolution of NoSQL Databases<br />Standard architecture for simple web apps:<br />Front end load balanced web servers<br />Business logic layer in the middle <br />Backend database<br />Databases do not scale well with very large numbers of users or very large amounts of data<br />Alternatives include<br />Sharded (partitioned) databases<br />master-slave databases<br />memcache<br />22<br />
  23. 23. NoSQL Systems<br />Suggests No SQL support, also Not Only SQL<br />One or more of the ACID properties not supported<br />Joins generally not supported<br />Usually flexible schemas<br />Some well known examples: Google’s BigTable, Amazon’s S3 & Facebook’s Cassandra<br />Several recent open source systems<br />23<br />
  24. 24. Different Types of NoSQL Systems<br />Distributed Key-Value Systems<br />Amazon’s S3 Key-Value Store (Dynamo)<br />Voldemort<br />Column-based Systems<br />BigTable<br />HBase<br />Cassandra<br />Document-based systems<br />CouchDB<br />24<br />
  25. 25. Cassandra vsMySQLComparison<br />MySQL > 50 GB Data Writes Average : ~300 msReads Average : ~350 ms<br />Cassandra > 50 GB DataWrites Average : 0.12 msReads Average : 15 ms<br />Source: AvinashLakshman, PrashantMalik, Cassandra Structured Storage System over a P2P Network, static.last.fm/johan/nosql-20090611/cassandra_nosql.pdf<br />
  26. 26. CAP Theorem<br />Proposed by Eric Brewer, 2000<br />Three properties of a system: consistency, availability and partitions<br />You can have at most two of these three properties for any shared-data system<br />Scale out requires partitions<br />Most large web-based systems choose availability over consistency<br />26<br />Reference: Brewer, PODC 2000; Gilbert/Lynch, SIGACT News 2002<br />
  27. 27. Eventual Consistency<br />All updates eventually propagate through the system and all nodes will eventually be consistent (assuming no more updates)<br />Eventually, a node is either updated or removed from service. <br />Can be implemented with Gossip protocol<br />Amazon’s Dynamo popularized this approach<br />Sometimes this is called BASE (Basically Available, Soft state, Eventual consistency), as opposed to ACID<br />27<br />
  28. 28. Part 3. Sector Architecture<br />28<br />
  29. 29. Design Objectives<br />1. Provide Internet scale data storage for large data<br />Support multiple data centers connected by high speed wide networks<br />2. Simplify data intensive computing for a larger class of problems than covered by MapReduce<br />Support applying User Defined Functions to the data managed by a storage cloud, with transparent load balancing and fault tolerance<br />
  30. 30. Sector’s Large Data Cloud<br />30<br />Applications<br />Compute Services<br />Sphere’s UDFs<br />Data Services<br />Sector’s Distributed File System (SDFS)<br />Storage Services<br />Routing & Transport Services<br />UDP-based Data Transport Protocol (UDT)<br />Sector’s Stack<br />
  31. 31. Apply User Defined Functions (UDF) to Files in Storage Cloud<br />map/shuffle<br />reduce<br />31<br />UDF<br />UDF<br />
  32. 32. System Architecture<br />User account<br />Data protection<br />System Security<br />Metadata<br />Scheduling<br />Service provider<br />System access tools<br />App. Programming Interfaces<br />Security Server<br />Masters<br />Clients<br />SSL<br />SSL<br />Data<br />UDT<br />Encryption optional<br />slaves<br />slaves<br />Storage and Processing<br />
  33. 33. 33<br />
  34. 34.
  35. 35. Terasort Benchmark<br />Sector/Sphere 1.24a, Hadoop 0.20.1 with no replication on Phase 2 of Open Cloud Testbed with co-located racks.<br />
  36. 36. MalStone<br />36<br />entities<br />sites<br />dk-2<br />dk-1<br />dk<br />time<br />
  37. 37. MalStone<br />Sector/Sphere 1.20, Hadoop 0.18.3 with no replication on Phase 1 of Open Cloud Testbed in a single rack. Data consisted of 20 nodes with 500 million 100-byte records / node.<br />
  38. 38. Parallel Data Processing using Sphere<br />Input data segment is processing by Sphere Processing Engine (SPE) on each slave in parallel.<br />Results can be either stored in local node or sent to multiple bucket files on different nodes<br />All inputs and outputs are Sector files. Sphere processes can combined by communicating via Sector files.<br />
  39. 39. Disks<br />Input Segments<br /><ul><li> Files not split into blocks
  40. 40. Directory directives
  41. 41. In-memory objects </li></ul>UDF<br />Bucket Writers<br />Output Segments<br />Disks<br />
  42. 42. Application-Aware File System<br />Files are not split into blocks<br />Users supply appropriate sized files to Sector<br />Directory and File Family<br />Sector will keep related files together during upload and replication (e.g., a directory of files, data and index for a database table, etc.)<br />Allow users to specify file location, if necessary<br />Better data locality<br />no need to move blocks for applications that process files or even multiple files as minimum input unit<br />In-memory object<br />Store repeatedly-accessed data in memory<br />
  43. 43. Sector Summary<br />Sector is fastest open source large data cloud<br />As measured by MalStone & Terasort<br />Sector is easy to program<br />UDFs, MapReduce & Python over streams<br />Sector does not require extensive tuning<br />Sector is secure<br />A HIPAA compliant Sector cloud is being launched<br />Sector is reliable<br />Sector supports multiple active master node servers<br />41<br />
  44. 44. Part 4. Sector Applications<br />
  45. 45. App 1: Bionimbus<br />43<br />www.cistrack.org & www.bionimbus.org<br />
  46. 46. App 2: Bulk Download of the SDSS<br />44<br /><ul><li>LLPR = local / long distance performance
  47. 47. Sector LLPR varies between 0.61 and 0.98 </li></ul>Recent Sloan Digital Sky Survey (SDSS) data release is 14 TB in size.<br />
  48. 48. App 3: Anomalies in Network Data<br />45<br />
  49. 49. Sector Applications<br />Distributing the 15 TB Sloan Digital Sky Survey to astronomers around the world (with JHU, 2005)<br />Managing and analyzing high throughput sequence data (Cistrack, University of Chicago, 2007).<br />Detecting emergent behavior in distributed network data (Angle, won SC 07 Analytics Challenge)<br />Wide area clouds (won SC 09 BWC with 100 Gbps wide area computation) <br />New ensemble-based algorithms for trees<br />Graph processing<br />Image processing (OCC Project Matsu)<br />46<br />
  50. 50. Credits<br />Sector was developed by YunhongGu from the University of Illinois at Chicago and verycloud.com<br />
  51. 51. For More Information<br />For more information, please visit<br />sector.sourceforge.net<br />rgrossman.com<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×