IBM Bluemix Paris Meetup #21-20170131 Meetup @Ingima - Iot & Sécurité
IoTCraft - Chennai - meetup - ZettaJS - IoT Intro
-
Upload
anil-sagar -
Category
Internet
-
view
117 -
download
0
Transcript of IoTCraft - Chennai - meetup - ZettaJS - IoT Intro
PowerPoint Presentation
IoTCraft Chennai - ZettaJSApigee
2015 Apigee Corp. All Rights Reserved.
Your Host
2015 Apigee Corp. All Rights Reserved.
3
IoTCraft - Bangalore
2015 Apigee Corp. All Rights Reserved.
4Hands On .
2015 Apigee Corp. All Rights Reserved.
5Hackathon Too .
2015 Apigee Corp. All Rights Reserved.
6Connected Security System ..
2015 Apigee Corp. All Rights Reserved.
IoTCraft Swags Send 5 Tweets
@Apigee
@zettajs
@IoTCraft
2015 Apigee Corp. All Rights Reserved.
An Introduction to IoT
2015 Apigee Corp. All Rights Reserved.
Billions of Things
2015 Apigee Corp. All Rights Reserved.
Connecting things.
2015 Apigee Corp. All Rights Reserved.
Fusion of Things
2015 Apigee Corp. All Rights Reserved.
We are just Getting Started
2015 Apigee Corp. All Rights Reserved.
Promise Everything is connected
2015 Apigee Corp. All Rights Reserved.
The Reality Something Different
2015 Apigee Corp. All Rights Reserved.
Multiple Devs
2015 Apigee Corp. All Rights Reserved.
Multiple Experiences..
2015 Apigee Corp. All Rights Reserved.
Product Remote Controls
2015 Apigee Corp. All Rights Reserved.
Build Eco Systems
2015 Apigee Corp. All Rights Reserved.
Tomorrowappappappappappappapp
One experienceOne big app(Powered by APIs)
2015 Apigee Corp. All Rights Reserved.
An Introduction to Node.JS
2015 Apigee Corp. All Rights Reserved.
What is NodeJS and who uses it?Cross-platform runtime environment for developing server-side Web applicationsBuilt on Google Chrome's JavaScript V8 EngineOpen source, completely freeEvent driven architecture and asynchronous I/OOperates on a single thread, using non-blocking I/O callsPackage manager - npmUsed by LinkedIn, IBM, Paypal, Netflix
2015 Apigee Corp. All Rights Reserved.
V8 - V8 compiles JavaScript to native machine code Single thread - Cant scale vertically without using an additional module (use cluster, pm2 or strongloop pm)
Node.JS First Class HTTP ServerNo need of maintaining separate threads for each open connectionCreate REST APIs very easilyAsynchronous I/O
2015 Apigee Corp. All Rights Reserved.
Realtime apps and Async. ProgrammingReal time applications need non blocking I/O. This can be achieved by Asynchronous programming which is commonly used in event based systems.
Async. Programming involves :
CallbacksPromisesGenerators / yeilds (ES6)Async/ await (ES7)
2015 Apigee Corp. All Rights Reserved.
Example//Synchronousvar result = database.query("SELECT * FROM hugetable"); console.log("query finished"); console.log("Next line");
//Asynchronousdatabase.query("SELECT * FROM hugetable", function(result) {console.log("query finished"); });console.log("Next line");
2015 Apigee Corp. All Rights Reserved.
Introducing....25
2015 Apigee Corp. All Rights Reserved.
Zetta Combines..Reactive Programming
Web Sockets
Rest APIs
26
2015 Apigee Corp. All Rights Reserved.
27Zetta Architecture
Zetta ServerHighest Level Of Abstraction in Zetta
Runs on Hardware such as Intel Edison, Raspberry PI etc..
Generates APIs
Coordinates Interaction
28
2015 Apigee Corp. All Rights Reserved.
Zetta Drivers..State Machine Representation of Devices
Models Devices & Facilitates Interaction
Device Models - APIs
29OffOnturn-offturn-on
2015 Apigee Corp. All Rights Reserved.
Zetta Scouts..30Discovery Mechanism
Search for Devices
Report Backs
2015 Apigee Corp. All Rights Reserved.
Zetta Apps31Written in Javascript
Interact with Multiple Devices
Interaction based on Sensor Streams
2015 Apigee Corp. All Rights Reserved.
Zetta Server Extensions32Pluggable Models
Node Modules
For ExampleAdding Additional APIsAdding Security to APIs
2015 Apigee Corp. All Rights Reserved.
Zetta Registry33Small Database
Information about Devices
Information about Server Itself
2015 Apigee Corp. All Rights Reserved.
Zetta Deployment34
2015 Apigee Corp. All Rights Reserved.
Zetta Linking..35
Linking establishes a secure connection between two Zetta servers. It uses the Z2Z protocol to efficiently proxy API requests, and streaming data between servers.Z1
Z2FirewallHTTP Proxy
2015 Apigee Corp. All Rights Reserved.
Zetta APIs36Query Devices
Sensor Data Streams
Interact with Devices
Links between Servers
2015 Apigee Corp. All Rights Reserved.
References37http://www.zettajs.org/
2015 Apigee Corp. All Rights Reserved.
38Connected Car
2015 Apigee Corp. All Rights Reserved.
Interested to drive IoTCraft Chennai ?39Send a message Meetup Group
2015 Apigee Corp. All Rights Reserved.
Thank you