Top Banner
20

Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Dec 22, 2015

Download

Documents

Justina Kennedy
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.
Page 2: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Sessions aboutto start – Get your RIG on!

Page 3: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Internet of ThingsPart 2 ServicesDave Glover, Rocky Heckman& Chris Auld, Microsoft Australia@dglover, @rockyh, @cauld

WPD311

Page 4: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Register on the IoT Developer CommunityWorkshops, Events Announcements

http://aka.ms/techediot

Page 5: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Microsoft Azure Cloud Services

Global Footprint

Page 6: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

HDInsight

Azure Applicationbuilding blocks

Storage

Big data

CachingCDN

Database

Identity

Media

Messaging

Networking

Traffic

Service BusMachine Learning

Page 7: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Service Bus

Page 8: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Service Bus and Event Hubs

Geared to high throughput event streamsConnect millions of devices/sensors from diverse platforms

Partitioned for scaleUp to 1MB/sec ingress, 2MB/sec egress per partition

Publish and Subscribe In order by partition

Retention and Checkpoint Model

Page 9: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Service Bus Messaging & Event Hubs

Device Gateway – Reference Architecture

1. Custom Protocol Gateway

2. Telemetry Pump and Adapters

3. Command Gateway

4. Provisioning Service and Metadata Store

Custom Protocol Gateway Host

MQTT CoAP …

Telemetry/Request Router

Notification/CommandRouter

Adapters Command API Host

Provisioning Service

Device Metadata and Key

Store

HD

Insi

ght

Biz

Talk

Orl

eans

Azu

re

Sto

rage

Azu

re D

bs

Serv

ice B

us

HTTP

HTTP

Devices

AMQP

1

2 3

4

Configuration

HTTP

Page 10: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

DemoMQTT to Service Bus

Page 11: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Orleans

Page 12: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Project “Orleans”Distributed Actor runtime

• Virtual Actor model• Location transparency

Built for .Net• Actors (Grains) are .Net objects• Messaging through .Net interfaces• Asynchronous through async/await in

C#• Automatic error propagation

Silo: runtime execution container

• Implicit activation & lifecycle management

• Coordinated placement• Multiplexed communication• Failure recovery

Grain

Silo

Page 13: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Actors in “Orleans”: Grains

Grain Type Grain (Instance) Grain Activation

Game Grain Type

Game Grain (Instance) #2,548,308

Game Grain (Instance) #2,031,769

Game Grain #2,548,308

Activation #1 @ 192.168.1.1

Game Grain #2,031,769

Activation #1 @ 192.168.1.5

Page 14: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

A cloud native runtime

New Silo

Unavailable Silo

New Activation New Activations

Page 15: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

“Orleans” was built for…

Scenarios

Social graphs- Mobile backend

Internet of thingsReal-time analytics‘Intelligent’ cacheInteractive entertainment

Common characteristics

Large numbers of independent actorsFree-form relationsHigh throughput/low latency- These generally dictate stateful compute

Fine-Grained partitioning is naturalCloud-based scale-out & elasticityMuch broader developer audience

Page 16: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

[Near] real-time analyticsDevices send telemetry to the Cloud

Per-device actors process andpre-aggregate incoming data

Multi-level aggregation by actors

Statistics, predictive analytics, fraud detection, etc.

Control channel back to devices

Grouping by location, category, etc.

Elastically scales with # of devices

Page 17: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

HDInsight

Azure Applicationbuilding blocks

Storage

Big data

CachingCDN

Database

Identity

Media

Messaging

Networking

Traffic

Service BusMachine Learning

Page 19: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Please complete your session/speakerevaluationGo to: aka.ms/mytechedsyd

Page 20: Sessions about to start – Get your RIG on! Dave Glover, Rocky Heckman & Chris Auld, Microsoft Australia @dglover, @rockyh, @cauld.

Q&A