connecting apps, devices and services

Post on 14-Jan-2015

196 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Session about influence of the new Microsoft strategy to technology shift. How we thing about services and how we will build them soon. You thin SOAP or REST. Wrong! The way might be different.

TRANSCRIPT

Services for DevicesConnected & Distributed Apps

Damir Dobricdaenet GmbH

Microsoft Integration MVP, Windows Azure VTSPdamir.dobric@daenet.com

AGENDA

State of technology & Devices

Service API StylesREST or SOAP or ???

Cloud, Bus, Connecting, Firewall &

Co.

Workflow Manager

Moore's Law

o Trend for number of transistors on integrated circuit.o It doubles approximately every two years. o Strongly linked to: o processing speed, o memory capacity, o and even the number and size of pixels in digital cameras.

o Impact on nearly every segment of the world economy

Limit of vertical scale ?

256 Core Processor

Connected Devices?

Services: Where we are today?

Web Services

RPC-Api-Style

Resource-API-Style

Message-API-Style

High-Level Architecture

ServiceConsumer

Interaction

API Style

Request ResponseClient Service Interaction

Book Service Design Patterns. Robert Daigneau

Request AcknowledgeClient Service Interaction

Book Service Design Patterns. Robert Daigneau

Remote Procedure Call (RPC)API Style

Book Service Design Patterns. Robert Daigneau

var order = proxy.CreateOrder(order);

ResourceAPI Style

Book Service Design Patterns. Robert Daigneau

sendRequest(“PUT”, http://server/myservice/orders);

REST or SOAP ?

o Protocol independento Support WS*o Powerful Proxy toolingo Protocol overhead

o Support for HTTP onlyo No support for WS*o No proxy supporto No protocol overhead

Two different approaches (apple or pear ?)Compete only in very simple scenarios.SOAP: Better for enterprises and services based on

standards, policies and governance.REST: Better (mostly) for web. Very simple and

suitable for broad set of devices.

SOAP (RPC) REST (Resource)

But, there is also the”Message” API Style!

Book Service Design Patterns. Robert Daigneau

Broker

BrokerSender Receiver

DEMO

SERVICE BUS QUEUES

Why Queue?

oLoad Balancing (Competing Consumer)

• Offline Mode

BrokerSender

Receiver

Receiver

BrokerSender

Receiver

DEMO

SERVICE BUS TOPICS &

SUBSCRIPTIONS

Topics & Subscriptions

DEMO

SERVICE BUS TOPICS &

SUBSCRIPTIONS

How about devices & services?

Service

This does not work if both participants are on private IP.

Service Bus

Public IP

Message is received as pull.

All participants are behind firewall

Can use Relay or Queue

Participants can support different protocols: HTTP,

SBMP, AMQP

NO VPN required!!

Messaging across platforms

Windows(System32)

WindowsRT

WindowsPhone

WindowsAzure.Messaging.Managed.dll

WindowsAzure.ServiceBus.dll

WindowsAzure.Messaging.Managed.dll

ServiceBus

Node JS

var azure = require('azure');

Java Script

SB REST SDK

Consistent Messaging Support

Recap

Thank You

http://developers.de/blogs/damir_dobric/default.aspx

Twitter: /ddobric

https://twitter.com/ddobric

Blog

https://daenet.de

DAENET GmbHDamir Dobricdaenet GmbH

Microsoft Integration MVP, Windows Azure VTSPdamir.dobric@daenet.com

top related