300 likes | 474 Views
Benchmarking Interactive Social Networking Actions. Shahram Ghandeharizadeh Director of Database Lab Computer Science Department University of Southern California. Outline. Motivation Research questions Survey use cases BG Benchmark FORSEE Future research. Motivation. Data Stores
E N D
Benchmarking Interactive Social Networking Actions Shahram Ghandeharizadeh Director of Database Lab Computer Science Department University of Southern California
Outline Motivation Research questions Survey use cases BG Benchmark FORSEE Future research
Motivation Data Stores Cloud Services Person-to-person cloud services
Research Questions What is the tradeoff between alternative data models? E.g., Is JSON superior to the relational data model? How do alternative architectures compare with one another? E.g., Is cache augmented SQL as good as a document/extensible store? Do NewSQL data stores scale as well as NoSQL data stores?
Survey Use Case S. Barahmand and S. Ghandeharizadeh. BG: A Benchmark to Evaluate Interactive Social Networking Actions. CIDR ‘13, Asilomar, CA.
Data Model Own Accounts Resources Own News Feed Displays d Pages Members Friend Follow Share Share
BG Architecture Visualization Tool Emulates User Behavior Quick and Efficient Rating Service Level Agreement Scalable S. Barahmand and S. Ghandeharizadeh. Expedited Benchmarking of Social Networking Actions with Agile Data Loading Techniques. CIKM ‘13, SF, CA.
Good Benchmark = FORSEE Focus on an important debate & provide relevant metrics to facilitate progress. One number to describe alternative designs/solution. Runs in a reasonable amount of time. Scalable. Effective abstraction with meaningful requests. Extendible.
Good Benchmark = FORSEE F One number to describe alternative designs/solution. Runs in a reasonable amount of time. Scalable. Effective abstraction with meaningful requests. Extendible. + Unpredictable data
Good Benchmark = FORSEE F O Runs in a reasonable amount of time. Scalable. Effective abstraction with meaningful requests. Extendible. + Unpredictable data SoAR
Good Benchmark = FORSEE F O R Scalable. Effective abstraction with meaningful requests. Extendible. + Unpredictable data SoAR 1 Week to rate = 4 months to rate =
Good Benchmark = FORSEE F O R S Effective abstraction with meaningful requests. Extendible. + Unpredictable data SoAR 1 Week to rate = 4 months to rate =
Good Benchmark = FORSEE F O R S E Extendible. + Unpredictable data SoAR 1 Week to rate = 4 months to rate = Only when two members are NOT friends!
Good Benchmark = FORSEE F O R S E E + Unpredictable data SoAR 1 Week to rate = 4 months to rate = Only when two members are NOT friends! FORSEE = PREDICT
Good Benchmark = FORSEE F O R S E E + Unpredictable data SoAR 1 Week to rate = 4 months to rate = Only when two members are NOT friends! A good benchmark helps settle debates quickly to enable its discipline to make rapid progress.
Future Research: Data Sciences Challenge: Wide variety of science applications with diverse debates. Hypothesis: A benchmark generator. ER diagram Benchmark Generator Application (data science) Specific Benchmark Actions & their dependencies Key Metrics
Future Reseach Evaluate the hypothesis using BG. Extend to other data science applications. Benchmark Generator Unpredictable data
Big Data: Operations Ad-hoc Pre-specified Simple Complex Off-line Interactive
Big Data: Google Analytics • Objective: • Advertising ROI • Frequency of access to pages Ad-hoc Pre-specified Simple Complex Off-line Interactive • Gather click stream data: Optimized for writes, • Compute aggregated data: MapReduce/Hadoop
Big Data: Google Analytics • Objective: • Advertising ROI • Frequency of access to pages Ad-hoc Pre-specified Simple Complex Off-line Interactive • Gather click stream data: Optimized for writes, • Compute aggregated data: MapReduce/Hadoop • Enable users to view aggregated data.
Big Data: Facebook Ad-hoc Pre-specified Simple Complex Off-line Interactive Show profile page of Farah Fawcett Follow Barak Obama Friend Lady Gaga
3 Vs: Facebook High Volume: 1.2 billion user profiles, 150 billion friend connections, 1.13 trillion likes, 17 billion tagged locations, 240 billion photos, …. High Velocity: 700 million active users daily, 4.5 billion likes daily, 350 million photos uploaded daily, … High Variety: Mix of data types: Structured records, multimedia content, text. Source: http://expandedramblings.com/index.php/by-the-numbers-17-amazing-facebook-stats/ posted on Oct 6, 2013.
Expertise/Contributions BG Benchmark to evaluate performance of alternative data stores: SQL, NoSQL, NewSQL. http://bgbenchmark.org A high performance CASQL solution that minimizes software development life cycle. KOSAR, a prototype of a CASQL solution. Ad-hoc Pre-specified Simple Complex Off-line Interactive
BG, http://bgbenchmark.org Joint work with Sumita Barahmand Benchmark for interactive social networking actions. Consists of 11 actions:
CASQL Joint work with Jason Yap. Key insight: Query result look up is faster than query processing. Contribution is physical data independence in CASQL systems: Transparent caching Serial schedules Detection of race conditions and prevention of inconsistent states.
KOSAR Joint work with Reihane Boghrati, Lakshmy Mohanan and Neeraj Narang. A software prototype of CASQL Scalable Highly available Elastic Boosts performance of a leading industrial strength RDBMS vendor from 2 actions per second to more than 300,000 actions per second.
BG Coordinator Delta Analyzer Experiment Experiment Load BGClient N BGClient 2 BGClient 1 … Agile Data Loading Techniques Data Store Server …