go real-time with the internetofthings

Post on 10-Jul-2015

234 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Go real-time with "Internet of Things"

RealTime communication and IoT walks hand in hand

Uffe Bjorklund - @ulfbjo

About MeIn RealTimeWeb since 2009.

Web (mostly backend, and you will see why)Kinect, Arduino, Netduino, RaspberryPI, AR Drone etcP2P (like WebRTC)M2M...Full-Duplex communication in general...

Todays agendaIntro to "realtime" developmentShow that state is importantCommunicate cross-protocolAdd "things" to the mix

HTTP/REST/AJAXDesigned for delivering resources (HTML, JS, CSS)Half-Duplex (stateless)~870 bytes average header

Why is "RealTime" importantWell...

Event driven architectureShould decrease complexityWill increase speed

But...A client should never (or rarely) ask for dataYou should never send data to a client that does not need it

So...SimpleFastSaves resources

RealTime FrameworksNodeJS/Socket.ioXSockets.NETSignalRPusher *FleckRealtime.co *PubNub *TornadoKaazing **Firebase *Autobahn

* SaaS** SaaS and SelfHosted

Communication Patterns

Framework CapabilitiesThe most imporant parts (IMO) of a "real-time" framework?

Modular architectureSo that functionality can be overriden/added in a smooth way

StateSo that we get control over where messages are sent

Cross-Protocol CommunicationSo that we can connect things/systems regardles of protocol

But also...ScalingSecurityEtc...

How it works... kind of...

<CODE/>Code availbale at: https://github.com/codeplanner/NDC-

InternetOfThingsDay-2014-11-06

Why should I care about IoT?

Today there is ~300.000 developers in IoT. By 2020 that numberis expected ot be ~4.500.000.

An annual growth by 57 %

Thank You!Questions?

Uffe Bjorklundemail: uffe@xsockets.net

twitter: @ulfbjo

Sources/CreditsIoT statistics 1: Intel

IoT statistics 2: ReadWrite.comImage of "Communication Patterns" by Phil Leggetter

Graphs by WijmoGame by html5quintus

Code samples by XSockets.NETMissileSharp by Christian Specht

SharpDX by Alexandre MutelRevealJS by Hakim El Hattab

top related