Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows...

26
virtual techdays INDIA 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam Developer, Icertis Inc.

Transcript of Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows...

Page 1: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

Data grail: Data Market on Windows Azure

Sudhindra Kovalam │ Developer, Icertis Inc.

Page 2: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

An Introduction to Windows Azure Marketplace DataMarket V1 Why is Data important & Why would I Need something like DataMarket in the first place? Ok Cool, What sorts of data is available on the DataMarket

Developing Applications on DataMarket Using Power Pivot plugin for Microsoft Excel Developing simple applications using Data Market

Inside Windows Azure DataMarket Some more details about DataMarket DataMarket internals

Wrap-up

virtual techdaysINDIA │ 9-11 February 2011

S E S S I O N A G E N D A

Page 3: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

Data is the new “OIL” - Gerd Leonhard Many of the decisions we take in our day to day life are based on some sort of statistical

data. As an end-user, you always want to have some statistic or data to make decisions.

Discoverability and reliability Many sources on the internet such as blogs, hosted documents, websites etc. Making sense out of the data and basing your decisions on that data.

virtual techdaysINDIA │ 9-11 February 2011

A N I N T R O D U C T I O N T O D AT A M A R K E T

Page 4: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

Example : A Site Selection application for a Retail store Chain

Page 5: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

W h a t’ s D a t a M a r k e t

Page 6: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

DEVELOPING APPLICATIONS USING DATAMARKET

How does DataMarket help?

I Need Data!semantics

billing

schema

discovery hosting

Page 7: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

ENTER: MARKETPLACE DATAMARKET

DataMarket is an information marketplace for ISVs and IWs that provides both trusted public domain and premium commercial data via integrated consumption experiences and easy data discovery, exploration, and purchasing.

Content Providers

Global reach

Unified billing & provisioning platform

Easy content onboarding

Data security / authorization model

Flexible pricing, auditing, logging

ISVs and Devs

Consistent, flexible , context optimized APIs - OData

Single Contract – One Stop shop for data and insight

Easy access to premium data

Unified billing and provisioning platform

Information Workers

Easy discovery

Rich Apps to consume Data

Microsoft Office, Dynamics, Bing + 3rd party ISV Applications

Ability to mash up public and private data

Flexible pricing – pay as you go

Page 8: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

DEVELOPING APPLICATIONS USING DATAMARKET

How does DataMarket help?

I Need Data!

semantics

billing

schema

discovery hosting

Consumer Spending

Climate

Real Estate Value

DataMarket

Marketplace

Billing

Visualization

Serv

ices f

or

Con

ten

t P

rovid

ers

Standard Data Access

(OData)

Page 9: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Marketplace DataMarket Content Providers

DataMarket Launch45+ Content partners60+ Data offerings100+ Offers coming soon

Page 10: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

Demo : Windows Azure Marketplace DataMarket Walkthrough

Page 11: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

Using PowerPivot plugin for Excel 2010 PowerPivot gives users the power to create compelling self-service BI solutions Get PowerPivot from http://www.powerpivot.com/download.aspx

Via Managed Code Add “Service Reference” to Dataset end point to consume the dataset via code.

virtual techdaysINDIA │ 9-11 February 2011

Exploring Data Market Datasets

Page 12: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

Demo : Using PowerPivot for Excel 2010

Page 13: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

ODATA Protocol for querying and updating data. Based on AtomPub, HTTP, JSON Provides access to information from a variety of applications, services, and stores. Released under the Open Specification Promise. Visit www.odata.org for more details.

ODATA Clients Existing - Java, PHP, AJAX, .NET, Silverlight, Excel New – iPhone, Windows Phone 7 CTP, Linqpad, etc.

virtual techdaysINDIA │ 9-11 February 2011

Developing Applications using Data Market

ODATA

Page 14: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

Key Features of DataMarket APIs The Metadata service document is exposed. Useful in building a generic application which

would work across multiple DataMarket datasets. Service side filtering.

Fixed and Flexible Query Types (Controlled by the content provider) Fixed Querying

For e.g. https://api.datamarket.azure.com/Data.ashx/adatum.com/CensusInfo/GetCensusData Proxy classes cannot be generated by doing a “Add Service reference” The proxy class file is available on the dataset Details page after the subscription is purchased or subscribed to.

Flexible Querying For e.g. https://

api.datamarket.azure.com/Data.ashx/thephone-company.com/accountbalance/GetAccountBalance?phonenumber=5551234567

We can do a “Add Service reference for such datasets.

virtual techdaysINDIA │ 9-11 February 2011

Developing Applications using Data Market

Key Features of Azure DataMarket

Page 15: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

Demo : Consuming a DataMarket dataset via Code

Page 16: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Basic Building Blocks

Windows Azure compute infrastructure (VMs) SQL Azure elastic databases Windows Azure AppFabric

Access Control System (ACS)

Public APIs

DataMarket infrastructure

Web roles for exposed datasets (web services / public DataMarket APIs)

Web roles for marketplace website(ASP.NET)

Page 17: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Processing Requests

Public API endpoints

Work dispatcher

Prioritized queue Dataset worker Dataset

Prioritized queue Dataset worker Dataset

Prioritized queue Dataset worker Dataset

.

.

.

Page 18: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Caching requests

Prioritized queueData worker /

Mapping layer

Data in database

Data as web

service

Caching layer

In-memory cache

Distributed cache (Windows Azure Tables)

Page 19: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Connecting to Content Provider’s Data

Data worker / Mapping layer

Data source connector

SQL Azure connector

Web service connector

3rd party cloud connector

Data in database

Data as web

service

Data in 3rd

party cloud

Caching layer

SQL

REST / SOAP

REST / SOAP

OData

Mapping store CSDL

Page 20: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Scaling Out User DBs

System database Part1

System database Part2

System database Part3

Partitioning function

System data processing pipeline

Database access management

Partition 2

Page 21: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Monitoring

Discover issues before customer! Build monitoring as Windows Azure web role

Deployed to multiple data centers Executes sample queries on regular base Stores result in Windows Azure Table

Logs transferred on a regular basis to SQL Azure Reporting services to create reports Alerting on condition matching

Prioritized queue

Data worker / Mapping

layer

Data in database

Data as web

service

Page 22: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

Securing High value data

Data processing pipeline Content provider

information

Data in databaseData as web

service

Cryptocomponent

Problem: how to secure 3rd party connection information?

Solution: Certificates! Windows Azure has dedicated

certificate pipeline Only small number of people need

access to them Connection information

encrypted with final key during publication process

Certificates to decrypt connection information on the fly

Connecting to data sources

Page 23: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

The Big Picture

Public API endpoints

Data connector /

data mapping

SQL Azure

Data as web

service

Data in 3rd party

cloud

System databases

Request queues / processing

CachingLogging and monitoringBilling

Database access management

OData

Page 24: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

Enrolling as a Data consumer? Visit https://datamarket.azure.com

Enrolling as a Content Provider You are in control of the data, price, and terms Easily onboard data from SQL Azure or existing web services Receive periodic reports and payouts Get in touch with the Data Market On Boarding team : [email protected]

virtual techdaysINDIA │ 9-11 February 2011

How Do I Enroll

Page 25: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

Questions? Use the “Ask a Question” button on the VTD site Or use the “Q & A Panel” on the Live Meeting console.

Contact Details Blog : http://sudheerkovalam.wordpress.com Email: [email protected]

virtual techdaysINDIA │ 9-11 February 2011

Page 26: Virtual techdays INDIA │ 9-11 February 2011 virtual techdays Data grail: Data Market on Windows Azure Sudhindra Kovalam │ Developer, Icertis Inc.

virtual techdaysINDIA │ 9-11 February 2011

virtual techdays

Thank you