Webinar: Architecting the Internet of Things
-
Upload
mongodb -
Category
Technology
-
view
1.327 -
download
1
Transcript of Webinar: Architecting the Internet of Things
![Page 1: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/1.jpg)
Architecting theInternet of Things@blimpyacht
![Page 2: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/2.jpg)
![Page 3: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/3.jpg)
![Page 4: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/4.jpg)
4
![Page 5: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/5.jpg)
Maryln
Lorri
Lindsay
JonathonChris
![Page 6: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/6.jpg)
Maryln
Lorri
Lindsay
Recommendation
![Page 7: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/7.jpg)
Data Strategy
![Page 8: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/8.jpg)
Flexible Schemas{ maker : "M.V. Agusta",
type : sportsbike,engine : {
type : ”internal combustion",cylinders: 4,displacement : 750
},rake : 7,trail : 3.93
}{ maker : "M.V. Agusta",
type : Helicopterengine : {
type : "turboshaft"layout : "axial”,massflow : 1318
},Blades : 4undercarriage : "fixed"
}
![Page 9: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/9.jpg)
Flexible Schemas
Discriminator column
{ maker : "M.V. Agusta",type : sportsbike,engine : {
type : ”internal combustion",cylinders: 4,displacement : 750
},rake : 7,trail : 3.93
}{ maker : "M.V. Agusta",
type : Helicopterengine : {
type : "turboshaft"layout : "axial”,massflow : 1318
},Blades : 4undercarriage : "fixed"
}
![Page 10: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/10.jpg)
Flexible Schemas
Shared indexing strategy
{ maker : "M.V. Agusta",type : sportsbike,engine : {
type : ”internal combustion",cylinders: 4,displacement : 750
},rake : 7,trail : 3.93
}{ maker : "M.V. Agusta",
type : Helicopterengine : {
type : "turboshaft"layout : "axial”,massflow : 1318
},Blades : 4undercarriage : "fixed"
}
![Page 11: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/11.jpg)
Flexible Schemas
Polymorphic Attributes
{ maker : "M.V. Agusta",type : sportsbike,engine : {
type : ”internal combustion",cylinders: 4,displacement : 750
},rake : 7,trail : 3.93
}{ maker : "M.V. Agusta",
type : Helicopter,engine : {
type : "turboshaft”,layout : "axial”,massflow : 1318
},Blades : 4,undercarriage : "fixed"
}
![Page 12: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/12.jpg)
Event Sourcing
![Page 13: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/13.jpg)
Event Sourcing
State
![Page 14: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/14.jpg)
+4-2+5+7-4+9-3-6+2+1+1-5 t(12) = 9
Event Sourcing
![Page 15: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/15.jpg)
+4-2+5+7-4+9-3-6+2+1+1-5
t(5) = 10
Event Sourcing
![Page 16: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/16.jpg)
+4-2+5+7-4+9-3-6+2+1+1-5
t(9) = 12
Event Sourcing
![Page 17: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/17.jpg)
+4-2+5+7-4+9-3-6+2+1+1-5
Event Sourcing
a = f ’(x)
![Page 18: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/18.jpg)
+4-2+5+7-4+9-3-6+2+1+1-5
t(4) = 14
Event Sourcing
t(8) = 10
t(12) = 9
![Page 19: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/19.jpg)
+4-2+5+7-4+9-3-6+2+1+1-5
t(4) = 14
Event Sourcing
t(8) = 10
t(12) = 9
t’(4) = -2
t’(8) = -17
t’(12) = -22
![Page 20: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/20.jpg)
![Page 21: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/21.jpg)
Schema { _id: "abboip|1213084687000", taxi: "abboip", loc: {
geometry: [ -122.39488, 37.75134
] }, fare: 0, ts: ISODate("2008-06-10T07:58:07Z")}
![Page 22: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/22.jpg)
Schema { _id: "abboip|1213084687000", taxi: "abboip", loc: {
geometry: [ -122.39488, 37.75134
] }, fare: 0, ts: ISODate("2008-06-10T07:58:07Z")}
![Page 23: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/23.jpg)
{ _id: "abboip|1213084687000", taxi: "abboip", loc: {
geometry: [ -122.39488, 37.75134
] }, fare: 0, ts: ISODate("2008-06-10T07:58:07Z")}
SchemaPrimary Key
![Page 24: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/24.jpg)
Schema
GEOJSON
{ _id: "abboip|1213084687000", taxi: "abboip", loc: {
geometry: [ -122.39488, 37.75134
] }, fare: 0, ts: ISODate("2008-06-10T07:58:07Z")}
![Page 25: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/25.jpg)
Schema
Occupancy
{ _id: "abboip|1213084687000", taxi: "abboip", loc: {
geometry: [ -122.39488, 37.75134
] }, fare: 0, ts: ISODate("2008-06-10T07:58:07Z")}
![Page 26: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/26.jpg)
Schema
Timestamp
"abboip|1213084687000"
{ _id: "abboip|1213084687000", taxi: "abboip", loc: {
geometry: [ -122.39488, 37.75134
] }, fare: 0, ts: ISODate("2008-06-10T07:58:07Z")}
![Page 27: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/27.jpg)
![Page 28: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/28.jpg)
{ _id: ObjectId("56a4215a46778b69e08ff8ff"), taxi: "abboip", start: ISODate("2008-05-17T14:51:10Z"), route: { type: "LineString", coordinates: [ [ -122.39724, 37.74977 ], [ -122.40619, 37.74896 ], [ -122.41335, 37.74831 ], [ -122.414, 37.75157 ], [ -122.41438, 37.75552 ]
] }, end: ISODate("2008-05-17T14:55:58Z")}
![Page 29: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/29.jpg)
![Page 30: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/30.jpg)
![Page 31: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/31.jpg)
{ "type": "Polygon", "coordinates" : [ [ [ -73.969581, 40.760331 ], [ -73.974487, 40.762245 ], [ -73.977692, 40.763598], [ -73.979508, 40.761269 ], [ -73.982364, 40.762358 ], [ -73.983692, 40.760497 ], [ -73.972821, 40.755861 ], [ -73.969581, 40.760331 ] ] ]}
![Page 32: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/32.jpg)
{ $geoIntersects: { $geometry: { "type": "Point", "coordinates": [ -73.975010, 40.760071 ] }}}
![Page 33: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/33.jpg)
ingest Primary
view
Variant Read Models: VIEWS
viewviewviewview
![Page 34: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/34.jpg)
Primaryingest
viewviewviewviewview
![Page 35: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/35.jpg)
Command Query Responsibility Segregation CQRS
WRITE Primary
READREADREADREADREAD
![Page 36: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/36.jpg)
CQRS
2ndary
WRITE
READ 2ndary
Primary
READ
![Page 37: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/37.jpg)
Where it Gets Tricky
![Page 38: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/38.jpg)
![Page 39: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/39.jpg)
![Page 40: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/40.jpg)
![Page 41: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/41.jpg)
{ sys: "fp&l", transformer: 93035, component: "CENTRON C1S Single Phase", version: "v2.9.2", alerts: [ { treshold: { k: 'temp', v: '120' }, action: { summary: "device overheating", api: "https://bugzilla.mozilla.org/rest/bug" op_sys: "All", priority: "P1" } } ]}
![Page 42: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/42.jpg)
External Updates+4-2+5+7-4+9-3-6+2+1+1-5
Notification
Subscriber
![Page 43: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/43.jpg)
![Page 44: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/44.jpg)
![Page 45: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/45.jpg)
External Updates+4-2+5+7-4+9-3-6+2+1+1-5
Notification
Subscriber
![Page 46: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/46.jpg)
Gaining Insight
![Page 47: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/47.jpg)
![Page 48: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/48.jpg)
![Page 49: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/49.jpg)
![Page 50: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/50.jpg)
Data Processing
![Page 51: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/51.jpg)
HDFS
Stand AloneYARN
SparkHadoopMesos
Hive
Pig
SparkSQL
SparkShell
SparkStreaming
![Page 52: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/52.jpg)
HDFS
Stand AloneYARN
SparkHadoopMesos
Hive
Pig
SparkSQL
SparkShell
SparkStreaming
![Page 53: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/53.jpg)
Data ServicesHDFS
HDFS
HDFS
HDFS
HDFS
![Page 54: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/54.jpg)
HDFS
Stand AloneYARN
SparkHadoopMesos
Hive
Pig
SparkSQL
SparkShell
SparkStreaming
![Page 55: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/55.jpg)
Stand AloneYARN
SparkHadoopMesos
Hive
Pig
SparkSQL
SparkShell
SparkStreaming
![Page 56: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/56.jpg)
Data Services
MapReduce
![Page 57: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/57.jpg)
![Page 58: Webinar: Architecting the Internet of Things](https://reader034.fdocuments.in/reader034/viewer/2022042722/589b542b1a28ab4a398b70e5/html5/thumbnails/58.jpg)
Thank You@blimpyacht
Michal Piorkowski, Natasa Sarafijanovic‑Djukic, Matthias Grossglauser, CRAWDAD dataset epfl/mobility (v. 2009‑02‑24), traceset: cab,
downloaded from http://crawdad.org/epfl/mobility/20090224/cab, doi:10.15783/C7J010, Feb 2009.