building a citizen sensor network in windows azure
DESCRIPTION
Discussion and demos on how to scale out for mobile devices on Windows Azure with Windows Azure mobile servicesTRANSCRIPT
Building a citizen sensor network in Windows Azure
Richard Conway
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
Device developers need to think about …. scale
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
What is the cloud?
An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints
Cloud Computing
Software-as-a-Service
consume
SaaSPlatform-as-a-Service
build
PaaSInfrastructure-as-a-
Service
host
IaaS
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
Only a scalable elastic computing infrastructure can solve this scalability challenge; such as Windows Azure
Inside a Microsoft Data Center
Mobile Services
What is Windows Azure Mobile Services?
Data
Notifications
Auth
Server LogicLogging & Diag
ScaleScheduler
Controlling data with Mobile Services Demo
Websites
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
Supported Publishing Methods
FTP:// TFS WEBDEPLOY
DROPBOX
Supported Web Frameworks
Or any custom FastCGI Handler
Scaling with Windows Azure Websites Demo
Table Storage
Table Storage Concepts
EntityTableAccount
contoso
Name =…Email = …
Name =…EMailAdd=
customers
Photo ID =…Date =…
photos
Photo ID =…Date =…
No Fixed Schema
FIRST LAST BIRTHDATE
Andy Cross 2/2/1981
Richard Conway 8/11/1974
Isaac Abraham 5/8/1977
FAV SPORT
Sailing
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
Scaling with Tables Demo
Applicationbuilding blocks
StorageBig data
Caching
CDN
Database
Identity
Media
Messaging
Networking
Traffic
Questions?