go real-time with the internetofthings

13
Go real-time with "Internet of Things" RealTime communication and IoT walks hand in hand Uffe Bjorklund - @ulfbjo

Upload: uffe-bjoerklund

Post on 10-Jul-2015

233 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Go real-time with the InternetOfThings

Go real-time with "Internet of Things"

RealTime communication and IoT walks hand in hand

Uffe Bjorklund - @ulfbjo

Page 2: Go real-time with the InternetOfThings

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...

Page 3: Go real-time with the InternetOfThings

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

Page 4: Go real-time with the InternetOfThings

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

Page 5: Go real-time with the InternetOfThings

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

Page 6: Go real-time with the InternetOfThings

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

* SaaS** SaaS and SelfHosted

Page 7: Go real-time with the InternetOfThings

Communication Patterns

Page 8: Go real-time with the InternetOfThings

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...

Page 9: Go real-time with the InternetOfThings

How it works... kind of...

Page 10: Go real-time with the InternetOfThings

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

InternetOfThingsDay-2014-11-06

Page 11: Go real-time with the InternetOfThings

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 %

Page 12: Go real-time with the InternetOfThings

Thank You!Questions?

Uffe Bjorklundemail: [email protected]

twitter: @ulfbjo

Page 13: Go real-time with the InternetOfThings

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