Term Project #2 Data Management on a Cloud (Azure)

Slides:



Advertisements
Similar presentations
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizards Guide to PHP by David Lash.
Advertisements

MAP REDUCE PROGRAMMING Dr G Sudha Sadasivam. Map - reduce sort/merge based distributed processing Best for batch- oriented processing Sort/merge is primitive.
SAM 2007 v4 The Student Experience Including SAM Projects, SAM Exams and SAM Training.
Microsoft Dynamics AX Technical Conference 2013
Azure Services Platform Piotr Zierhoffer. Agenda Cloud? What is Azure? Environment Basic glossary Architecture Element description Deployment.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Parallel DBMS Chapter 22, Part A
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 11 Database Performance Tuning and Query Optimization.
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
Tomslist Boston University Craigslist Ben Duong, Frank Wong, Marc Adam, Henry Huang.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Microsoft Azure Introduction ISYS 512. Microsoft Azure Microsoft Azure is a cloud.
Windows Azure featureISO 27001SSAE 16 SOC 1 Type 2 EU Model Clauses HIPAA BAA Web Sites Virtual Machines Cloud Services Storage (Tables,
Database testing Prepared by Saurabh sinha. Database testing mainly focus on: Data integrity test Data integrity test Stored procedures test Stored procedures.
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizard’s Guide to PHP by David Lash.
Migrating Business Apps to Windows Azure Marc Müller Principal Consultant, 4tecture GmbH
Austin code camp 2010 asp.net apps with azure table storage PRESENTED BY CHANDER SHEKHAR DHALL
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Nathan Perkins. Project Description  A database for my online Social Network website – DJBeat.net  Site is used by music producers, disk jockeys and.
Tom Castiglia Hershey Technologies
Introduction to Windows Azure BUGAEV ROMAN. Azure Windows Azure Platform is thus classified as platform as a service and forms part of Microsoft's cloud.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Hello We are looking for a coder to code the following We have a network that has different sites: we need an application that will scan the network and.
Windows Azure Conference 2014 Designing Applications for Scalability.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Keywords Searching and Analysis System Member Student ID Role 刘亮 Liu Liang System Analyst 顾子俊 Gu Zijun Developer 杜菡菡 Du Hanhan
IOS and Android with Windows Azure Websites Name Title Address Website.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Creating A Database Driven Website 1.Setting Up Your Web Server 2.Creating a Database 3.Creating a Webpage to Display Information From a Database 4.Creating.
Building Connected Windows 8 Apps with Windows Azure Web Sites Name Title Organization.
IR Homework #3 By J. H. Wang May 10, Programming Exercise #3: Text Classification Goal: to classify each document into predefined categories Input:
D. Heynderickx DH Consultancy, Leuven, Belgium 22 April 2010EuroPlanet, London, UK.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Migrating an Enterprise Microsoft Product (TFS) on to Windows Azure Sriram Dhanasekaran SDE II, Microsoft.
Mobile + Cloud: Building Mobile Applications with Windows Azure Wade Wegner Blog:
Windows Azure Fundamentals Services Storage. Table of contents Overview Cloud service basics Managing cloud services Cloud storage basics Table storage.
Azure databases 1. Azure storage possibilities Azure offers several storage possibilities Microsoft SQL Server database MySQL database Azure Document.
Introduction to MySQL Ullman Chapter 4. Introduction MySQL most popular open-source database application Is commonly used with PHP We will learn basics.
Turn It In Getting Started. Access and click on Create an Account.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Working with MySQL A290/A590, Fall /07/2014.
PowerPoint Instructions These are not native PowerPoint objects. They are PNG objects. To change the color, you need to go to the Format Tab.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Bellevue College Workshop Azure Storage & SQL Mohamed El Hassouni Hans Olav Norheim.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
Bret Stateham Owner, Net Connex blogs.netconnex.com twitter.com\bstateham.
IR Homework #2 By J. H. Wang May 9, Programming Exercise #2: Text Classification Goal: to classify each document into predefined categories Input:
Deploying Web Application
Chapter 1 Introduction.
Introduction to Visual Basic 2008 Programming
Development of Twitter Applications Part 5. Users
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Exam in just 24 hours!!! Pass your exam in first attempt by the help of our latest braindumps
Oracle Accounts on Campus
Azure Machine Learning & ML Studio
Chapter 1 Introduction.
Information Technology Ms. Abeer Helwa
Jim Nakashima Program Manager Cloud Tools
Saranya Sriram Developer Evangelist | Microsoft
Computer Science Projects Database Theory / Prototypes
CSCE 221 Professor Lupoli TAMU CSCE 221 Intro.
Storing and Processing Sensor Networks Data in Public Clouds
INFO 344 Web Tools And Development
MapReduce: Simplified Data Processing on Large Clusters
Cloud Platform Can Offer Needed Scalability to Handle the Next Big Hit in Social Gaming MINI-CASE STUDY “The Microsoft Azure platform has made it so easy.
Parallel DBMS DBMS Textbook Chapter 22
Lecture 20: Representing Data Elements
Presentation transcript:

Term Project #2 Data Management on a Cloud (Azure)

Input Dataset Social graph –Format USER \t FOLLOWER \n Both are numeric IDs (integers). –Example Users 13, 14 and 15 are followers of user 12. User 17 is a follower of user 16. –Provided as text files Restricted user profiles –About users who have > 10,000 followers –Schema twitter.profiles ( numeric_id int primary key, name varchar(20), screen_name varchar(16), friends_count int, followers_count int, following varchar(5), statuses_count int, favourites_count int, location varchar(40), description varchar(165), profile_image_url varchar(235), url varchar(100), created_at varchar(30), time_zone varchar(30), gender varchar(1), verified varchar(5), protected varchar(5) … ) –Stored in SQL Azure Server name: foqev3v3fp.database.windows.net Login: student Password: csed***$

Problem: Who has the largest number of mutual friends in Twitter? 1.Upload a local file (social graph) to Azure blob storage 2.Bulk-load Azure table 1)Read a blob 2)Parse following relationships 3)Store the relationships into Azure table 3.Find mutual friends 1)Read Azure table 2)Self-join the table 4.Count mutual friends for each user 5.Get the name of the user who has the largest number of mutual friends from SQL Azure Distribute and parallelize the workload !!!

Web Interface Screen shot

Upload to Azure blob storage Web RoleWorker Role … Storage upload

Upload to Azure blob storage Web Role _Default.UploadDataFileTo BlobStorageButton_Click(…)

Bulk-load Azure table Web RoleWorker Role … Storage bulk-load … userid followerid

Bulk-load Azure table Web Role _Default.LoadFollowerTabl eFromBlobButton_Click(…)

Find mutual friends Web RoleWorker Role Storage Find … … … … … … Self-join

Database Management Systems, 2 nd Edition. Raghu Ramakrishnan and Johannes Gehrke11 Parallel Hash Join v In first phase, partitions get distributed to different sites: –A good hash function automatically distributes work evenly! v Do second phase at each site. v Almost always the winner for equi-join. Original Relations (R then S) OUTPUT 2 B main memory buffers Disk INPUT 1 hash function h B-1 Partitions 1 2 B-1... Phase 1 Textbook Chapter 22 p Textbook Chapter 22 p

Database Management Systems, 2 nd Edition. Raghu Ramakrishnan and Johannes Gehrke12 Dataflow Network for || Join v Good use of split/merge makes it easier to build parallel versions of sequential join code.

Find mutual friends Web Role _Default.FindMutualFr iendsButton_Click(…) Web Role ToDo.FindMutualFriends(req uestQueue,responseQueue) Worker Role WorkerRole.Run() Worker Role WorkerRole.Run() Worker Role WorkerRole.Run() 1:n

Count mutual friends for each user Web RoleWorker Role Storage … … … Count

Count mutual friends for each user Web RoleWorker Role Storage … … … 12 : 3 17 : 5 … userid : #friends 17 : 2 19 : 7 … 12 : 6 25 : 3 … 12 : 9 17 : 7 19 : 7 … Aggregate Summation

Count mutual friends for each user Web Role _Default.CountMutual FriendsButton_Click( …) Web Role ToDo.CountMutualFriends(re questQueue,responseQueue); Worker Role WorkerRole.Run() Worker Role WorkerRole.Run() Worker Role WorkerRole.Run() 1:n

Get the name of the user Web RoleWorker Role Storage 12 : 9 17 : 7 19 : 7 … SQL Azure SELECT name FROM profiles WHERE numeric_id = 247; Hyunsouk Get name

Get the name of the user Web Role _Default.GetNameOf PersonWhoHasTheLa rgestNumberOfFriend sButton_Click(…)

ServiceConfiguration.cscfg

References Windows Azure Platform Training Course – –Demos Hello Windows Azure Building and Deploying a Service Windows Azure using Blobs Demo Windows Azure Worker Role Demo - Using the Worker Role Windows Azure Using Queues Demo Windows Azure Using Table Storage Demo Preparing your SQL Azure Account Connecting to SQL Azure Azure Academic Pilot – –FREE 30-day pass (promo code: KKUMAR) Q&A –

Submission Instructions Make your team of 3-4 people Attachment –Compressed Windows Azure project file –Presentation file Implementation idea Experimental results –on Azure »Web page screen capture running –on your PC emulator »Performance with different number of worker roles Bonus: Other interesting problems with twitter data on Azure Due –To be announced

Demo Hello Windows Azure