26
Building a citizen sensor network in Windows Azure Richard Conway

Building a citizen sensor network in windows azure

Embed Size (px)

DESCRIPTION

Discussion and demos on how to scale out for mobile devices on Windows Azure with Windows Azure mobile services

Citation preview

Page 1: Building a citizen sensor network in windows azure

Building a citizen sensor network in Windows Azure

Richard Conway

Page 2: Building a citizen sensor network in windows azure

Introduction

AgendaSome cloudy factsOfferings for mobile devsCapturing data from mobilesScaling with websitesStorage scaling techniquesOther important things

If you want to learn a little more about Windows Azure: - 5/6 October http://futurecitieshackathon.com - Monthly meetings in London and Manchester, bootcamps in October, follow @ukwaug / http://ukwaug.net

WhoRichard Conway, co-founder of the UK Windows Azure Users Group, Windows Azure MVP and Insider and lover of all things Cloud, HPC, Big Data and Machine Learning! Director of Microsoft Partner Elastacloud. Follow @azurecoder

Time until next coffee 1:00

5 minutes

5 minutes

15 minutes

15 minutes

15 minutes

5 minutes

Page 3: Building a citizen sensor network in windows azure

Device developers need to think about …. scale

Page 4: Building a citizen sensor network in windows azure

2015 est

2012

2bn

1bnUnprecedented growth

The number of internet connected devices is sky rocketing.

The trend shows no sign of slowing.

Node.js server handles 2.4k/sec requests

Or 1.2 million servers needed to deal with requests from all of them

Scenario outline Mobile/IoT

9bn

Page 5: Building a citizen sensor network in windows azure

What is the cloud?

An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints

Page 6: Building a citizen sensor network in windows azure

Cloud Computing

Software-as-a-Service

consume

SaaSPlatform-as-a-Service

build

PaaSInfrastructure-as-a-

Service

host

IaaS

Page 7: Building a citizen sensor network in windows azure

Potential Workloads

PredictabilityDevices may report periodically (hourly temperature reading)Devices may interact frequently (retrieve news)

UnpredictabilityDevices may respond to user input (milk taken from fridge)Devices may be free to communicate (peer discovery)

Predictable Burst

Unpredictable Burst

Growing Fast“On and Off”

Com

pute

Time

Page 8: Building a citizen sensor network in windows azure

Only a scalable elastic computing infrastructure can solve this scalability challenge; such as Windows Azure

Page 9: Building a citizen sensor network in windows azure

Inside a Microsoft Data Center

Page 10: Building a citizen sensor network in windows azure

Mobile Services

Page 11: Building a citizen sensor network in windows azure

What is Windows Azure Mobile Services?

Data

Notifications

Auth

Server LogicLogging & Diag

ScaleScheduler

Page 12: Building a citizen sensor network in windows azure

Controlling data with Mobile Services Demo

Page 13: Building a citizen sensor network in windows azure
Page 14: Building a citizen sensor network in windows azure

Websites

Page 15: Building a citizen sensor network in windows azure

Your Datacenter

Virtualization

O/S

Hardware

Network

Data

Applications

Firewall

Web Sites

Applications

Data

Cloud Services

Applications

Firewall Rules

Data

Virtual Network

Virtual Machines

Virtual Network

Data

Applications

Firewall Rules

O/S

Focus on the Application

Windows Azure

Page 16: Building a citizen sensor network in windows azure

Supported Publishing Methods

FTP:// TFS WEBDEPLOY

DROPBOX

Page 17: Building a citizen sensor network in windows azure

Supported Web Frameworks

Or any custom FastCGI Handler

Page 18: Building a citizen sensor network in windows azure
Page 19: Building a citizen sensor network in windows azure

Scaling with Windows Azure Websites Demo

Page 20: Building a citizen sensor network in windows azure

Table Storage

Page 21: Building a citizen sensor network in windows azure

Table Storage Concepts

EntityTableAccount

contoso

Name =…Email = …

Name =…EMailAdd=

customers

Photo ID =…Date =…

photos

Photo ID =…Date =…

Page 22: Building a citizen sensor network in windows azure

No Fixed Schema

FIRST LAST BIRTHDATE

Andy Cross 2/2/1981

Richard Conway 8/11/1974

Isaac Abraham 5/8/1977

FAV SPORT

Sailing

Page 23: Building a citizen sensor network in windows azure

Windows Azure Storage

Storage in the CloudScalable, durable, and availableAnywhere at anytime accessOnly pay for what the service uses

Exposed via RESTful Web ServicesUse from Windows Azure ComputeUse from anywhere on the internet

Page 24: Building a citizen sensor network in windows azure

Scaling with Tables Demo

Page 25: Building a citizen sensor network in windows azure

Applicationbuilding blocks

StorageBig data

Caching

CDN

Database

Identity

Media

Messaging

Networking

Traffic

Page 26: Building a citizen sensor network in windows azure

Questions?