SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
PRESENTED BY
Freedom of Movement
Richard Leddy
Copious Systems, Owner
Meshes and Relative Motion
www.copious.world
PRESENTED BY
Freedom of Movement
https://en.wikipedia.org/wiki/Wireless_mesh_network
PRESENTED BY
Richard A. Leddy
‱ Many years programming since college (allworkandnoplaymakesjackadull-)
– AI Software, Web Software, Business Applications, Educational Software
– Real-time programming for data acquisition: Linux, Arduino, Teensy
– Recent Work (2017 -2018)
‱ AxiomWare Bluetooth and MQTT Communication Stack Application Framework
‱ Bioreactor Startup - Device to Web - Full Stack
– Writing: posts and more posts on their way
‱ Blockchain Consensus, Evolutionary Computation
– Review Courses and Certs (Last Summer):
‱ Blockchain, AI, Robotics
‱ Quantum Computing ???
Who am I? Copious Systems - www.copious.world
PRESENTED BY
1 Freedom of Movement
User -> Device -> User. What does that mean? Remove control, Remote management,
Sensor continuity
2 Of Meshes and Databases
Device -> Store -> Web Server. Data collection, responsive apps, data availability, Fog,
Edge, Natural data shards.
3 Web Page Visualization
Web Server -> Page View. Reporting requirements.
Agenda:
PRESENTED BY
Freedom of Movement
http://localhost:8080/panel-app.html
PRESENTED BY
‱ Remote Control
‱ Remote Management
‱ Sensor Continuity
Freedom of Movement
User -> Device -> User
Icons made by: Freepik from www.flaticon.com
PRESENTED BY
Remote Control
‱ Commands Sent to MCU
– Sequence Recording
– Predictable Delayed Response
Remote Management
‱ Control Parameters
– Sensor Limits
– Schedule Sequences of Operations
Sensor Continuity
‱ Sensor in Motion
‱ Gateway in Motion
Freedom of Movement
https://www.arduinolibraries.info/libraries/tiny-cmd-table
PRESENTED BY
Two Scenarios Suggest Different Use Cases
‱ Sensor in Motion
– Measurement Routing
‱ Crossover Points
‱ Target Sequence Storage
‱ Gateway in Motion
– Sensor Entry and Exit
– Measurement Collective
‱ Topography Formation
Sensor Continuity
PRESENTED BY
Sensors in Motion
https://conferences.sigcomm.org/sigcomm/2013/papers/mcc/p15.pdf
https://conferences.sigcomm.org/sigcomm/2012/paper/mcc/p13.pdf
PRESENTED BY
Gateways in Motion
PRESENTED BY
Of Meshes and Databases
PRESENTED BY
‱ Problems
‱ Data Collection
‱ Responsive Apps
‱ Data Availability
‱ Cloud, Fog, Edge
‱ Natural Data Shards
‱ Database Options
Of Meshes and Databases
Device -> Store -> Web Server
https://www.digitaltrends.com/computing/worlds-smallest-computer-dwarfed-by-rice-grain/
PRESENTED BY
The obvious - but should be mentioned
‱ Data Collection
– Choose a Database
Problems
PRESENTED BY
‱ Responsive Apps
‱ Characterize Responses
‱ Provide Data Marshaling
‱ Manage Connections
‱ Work in Gangs
‱ Pathway Assignments
‱ Pub/Sub
‱ etc.
Problems
PRESENTED BY
Formalize Responses to Sensor Notifications
Code:
‹
dapi.on(“com.axiomware.characteristic.axm_count", dapi.addResponse(AXM_countNotify,(value,format,units) => {
// do whatever...
})
);
dapi.on("com.sensirion.characteristic.humidity", dapi.addResponse(SmartHumi_Notify,(value,format,units) => {
// do whatever...
console.log("RESPOND -- com.sensirion.characteristic.humidity");
console.log(`${value}, ${format}, ${units}`);
})
);
https://www.axiomware.com/
PRESENTED BY
‱ Data Availability
‱ Sensor Events
‱ Sensor Streams
‱ Gathering Intervals
‱ Merging into Archives
Problems
PRESENTED BY
Formalize Responses to Sensor Notifications
Code:
var redis = require("redis"),
redClient = redis.createClient(); // leave it to the module to figure out how to connect
redClient.on("error", function (err) {
console.log("Error " + err);
});
dapi.on("com.sensirion.characteristic.humidity", dapi.addResponse(SmartHumi_Notify,(value,format,units) => {
console.log(`${value}, ${format}, ${units}`);
var humidityOut = formatValue(value,format,units);
// redClient.append(myId(SmartHumi_Notify), `,${timeStamp()} : { humidity: ${humidityOut} }`)
// new way
redClient.xadd(myId(SmartHumi_Notify),`* humidity ${humidityOut}`)
})
);
PRESENTED BY
‱ Cloud, Fog, Edge
‱ Where to gather data
‱ When to move data blocks
‱ Save Time Series Analysis
‱ Storing Likely Requests
Problems
Taking Networks into Consideration
PRESENTED BY
‱ Natural Shards
‱ Roving Sensors
‱ Trajectories
‱ Not a distributed hash
Problems
Segmented Trajectories
10:00
10:02
10:03
10:06
10:07
10:08
10:16
10:17
10:18
10:19
PRESENTED BY
Delivering Long Time Intervals (testing laptops 10K points)
‱ MongoDB
– One Collection - linear time in number of points
– Part of Document -
‱ InfluxDB
– Measurements - better speed
‱ Redis
– One Key - fairly constant delivery time - might need higher clock resolution
– Stream
‱ Just tried it out
Database Options http://www.copious.world/demos/runtimes.html
PRESENTED BY
Web Page Visualization
PRESENTED BY
‱ Reporting Requirements
‱ Streaming
‱ Intervals
‱ State
‱ Rate of Display
‱ Display Options
Web Page Visualization
Web Server -> Page View
PRESENTED BY
Web Page Display Techniques are not All Equal
‱ D3
– Interesting DOM Management
– Speedy for Special Use Cases
‱ But, the exception can be the rule
‱ Virtual DOM Frameworks (Vue.js e.g.)
– DOM Manipulation with Time Series - Questionable
‱ Canvas Versions Just a Little Faster
– Great for State Management and Programming Ease
‱ Hardware Accelerated (Pixi.js - flat WebGL)
– High speed graphics rendering
– Still best to do analysis on the backend
Display Options
PRESENTED BY
You can see the difference
PRESENTED BY
1 Prefer Redis for Accessing Data
Small, Fast, Easy Formalism.
2 Try to Manage User Expectations but Warm Up Data
Coalesce, Archive, Relocate.
3 Stay Foggy
Analysis near complete data or wholistic trajectories - deliver less data less often.
Conclusions:
Thank you!
www.copious.world
PRESENTED BY

Mais conteĂșdo relacionado

Semelhante a Freedom of Movement for redisconf19

Machine Learning for Smarter Apps - Jacksonville Meetup
Machine Learning for Smarter Apps - Jacksonville MeetupMachine Learning for Smarter Apps - Jacksonville Meetup
Machine Learning for Smarter Apps - Jacksonville MeetupSri Ambati
 
Performance on a budget
Performance on a budgetPerformance on a budget
Performance on a budgetDimitry Ushakov
 
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...Adrian Cockcroft
 
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your MindDeliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your MindAvere Systems
 
AWS re:Invent 2013 Recap
AWS re:Invent 2013 RecapAWS re:Invent 2013 Recap
AWS re:Invent 2013 RecapBarry Jones
 
Chirp 2010: Scaling Twitter
Chirp 2010: Scaling TwitterChirp 2010: Scaling Twitter
Chirp 2010: Scaling TwitterJohn Adams
 
Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog
 Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog
Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDogRedis Labs
 
Managing Performance in the Cloud
Managing Performance in the CloudManaging Performance in the Cloud
Managing Performance in the CloudDevOpsGroup
 
Deterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSatsDeterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSatsPablo Ghiglino
 
John adams talk cloudy
John adams   talk cloudyJohn adams   talk cloudy
John adams talk cloudyJohn Adams
 
Data data everywhere
Data data everywhereData data everywhere
Data data everywhereMetron
 
10. Lec X- SDN.pptx
10. Lec X- SDN.pptx10. Lec X- SDN.pptx
10. Lec X- SDN.pptxDanishMahmood23
 
bruce-sdn.pptx
bruce-sdn.pptxbruce-sdn.pptx
bruce-sdn.pptxSameer Ali
 
Lecture1 BIG DATA and Types of data in details
Lecture1 BIG DATA and Types of data in detailsLecture1 BIG DATA and Types of data in details
Lecture1 BIG DATA and Types of data in detailsAbhishekKumarAgrahar2
 
6 weeks 6 months live project summer industrial training in cmc limited 2012
6 weeks  6 months live project summer industrial training in cmc limited  20126 weeks  6 months live project summer industrial training in cmc limited  2012
6 weeks 6 months live project summer industrial training in cmc limited 2012CMC Limited
 
Evolution of a cloud start up: From C# to Node.js
Evolution of a cloud start up: From C# to Node.jsEvolution of a cloud start up: From C# to Node.js
Evolution of a cloud start up: From C# to Node.jsSteve Jamieson
 
NoSQL on the move
NoSQL on the moveNoSQL on the move
NoSQL on the moveCodemotion
 

Semelhante a Freedom of Movement for redisconf19 (20)

Machine Learning for Smarter Apps - Jacksonville Meetup
Machine Learning for Smarter Apps - Jacksonville MeetupMachine Learning for Smarter Apps - Jacksonville Meetup
Machine Learning for Smarter Apps - Jacksonville Meetup
 
Kanthaka - High Volume CDR Analyzer
Kanthaka - High Volume CDR AnalyzerKanthaka - High Volume CDR Analyzer
Kanthaka - High Volume CDR Analyzer
 
Performance on a budget
Performance on a budgetPerformance on a budget
Performance on a budget
 
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
 
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your MindDeliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
Deliver Best-in-Class HPC Cloud Solutions Without Losing Your Mind
 
AWS re:Invent 2013 Recap
AWS re:Invent 2013 RecapAWS re:Invent 2013 Recap
AWS re:Invent 2013 Recap
 
Chirp 2010: Scaling Twitter
Chirp 2010: Scaling TwitterChirp 2010: Scaling Twitter
Chirp 2010: Scaling Twitter
 
Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog
 Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog
Monitoring and Scaling Redis at DataDog - Ilan Rabinovitch, DataDog
 
Managing Performance in the Cloud
Managing Performance in the CloudManaging Performance in the Cloud
Managing Performance in the Cloud
 
Deterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSatsDeterministic and high throughput data processing for CubeSats
Deterministic and high throughput data processing for CubeSats
 
John adams talk cloudy
John adams   talk cloudyJohn adams   talk cloudy
John adams talk cloudy
 
Data data everywhere
Data data everywhereData data everywhere
Data data everywhere
 
10. Lec X- SDN.pptx
10. Lec X- SDN.pptx10. Lec X- SDN.pptx
10. Lec X- SDN.pptx
 
bruce-sdn.pptx
bruce-sdn.pptxbruce-sdn.pptx
bruce-sdn.pptx
 
Lecture1 BIG DATA and Types of data in details
Lecture1 BIG DATA and Types of data in detailsLecture1 BIG DATA and Types of data in details
Lecture1 BIG DATA and Types of data in details
 
Big data.ppt
Big data.pptBig data.ppt
Big data.ppt
 
Lecture1
Lecture1Lecture1
Lecture1
 
6 weeks 6 months live project summer industrial training in cmc limited 2012
6 weeks  6 months live project summer industrial training in cmc limited  20126 weeks  6 months live project summer industrial training in cmc limited  2012
6 weeks 6 months live project summer industrial training in cmc limited 2012
 
Evolution of a cloud start up: From C# to Node.js
Evolution of a cloud start up: From C# to Node.jsEvolution of a cloud start up: From C# to Node.js
Evolution of a cloud start up: From C# to Node.js
 
NoSQL on the move
NoSQL on the moveNoSQL on the move
NoSQL on the move
 

Último

Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Último (20)

Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 đŸ«Š Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 đŸ«Š Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 đŸ«Š Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 đŸ«Š Vanshika Verma More Our Se...
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 

Freedom of Movement for redisconf19

  • 1. PRESENTED BY Freedom of Movement Richard Leddy Copious Systems, Owner Meshes and Relative Motion www.copious.world
  • 2. PRESENTED BY Freedom of Movement https://en.wikipedia.org/wiki/Wireless_mesh_network
  • 3. PRESENTED BY Richard A. Leddy ‱ Many years programming since college (allworkandnoplaymakesjackadull-) – AI Software, Web Software, Business Applications, Educational Software – Real-time programming for data acquisition: Linux, Arduino, Teensy – Recent Work (2017 -2018) ‱ AxiomWare Bluetooth and MQTT Communication Stack Application Framework ‱ Bioreactor Startup - Device to Web - Full Stack – Writing: posts and more posts on their way ‱ Blockchain Consensus, Evolutionary Computation – Review Courses and Certs (Last Summer): ‱ Blockchain, AI, Robotics ‱ Quantum Computing ??? Who am I? Copious Systems - www.copious.world
  • 4. PRESENTED BY 1 Freedom of Movement User -> Device -> User. What does that mean? Remove control, Remote management, Sensor continuity 2 Of Meshes and Databases Device -> Store -> Web Server. Data collection, responsive apps, data availability, Fog, Edge, Natural data shards. 3 Web Page Visualization Web Server -> Page View. Reporting requirements. Agenda:
  • 5. PRESENTED BY Freedom of Movement http://localhost:8080/panel-app.html
  • 6. PRESENTED BY ‱ Remote Control ‱ Remote Management ‱ Sensor Continuity Freedom of Movement User -> Device -> User Icons made by: Freepik from www.flaticon.com
  • 7. PRESENTED BY Remote Control ‱ Commands Sent to MCU – Sequence Recording – Predictable Delayed Response Remote Management ‱ Control Parameters – Sensor Limits – Schedule Sequences of Operations Sensor Continuity ‱ Sensor in Motion ‱ Gateway in Motion Freedom of Movement https://www.arduinolibraries.info/libraries/tiny-cmd-table
  • 8. PRESENTED BY Two Scenarios Suggest Different Use Cases ‱ Sensor in Motion – Measurement Routing ‱ Crossover Points ‱ Target Sequence Storage ‱ Gateway in Motion – Sensor Entry and Exit – Measurement Collective ‱ Topography Formation Sensor Continuity
  • 9. PRESENTED BY Sensors in Motion https://conferences.sigcomm.org/sigcomm/2013/papers/mcc/p15.pdf https://conferences.sigcomm.org/sigcomm/2012/paper/mcc/p13.pdf
  • 11. PRESENTED BY Of Meshes and Databases
  • 12. PRESENTED BY ‱ Problems ‱ Data Collection ‱ Responsive Apps ‱ Data Availability ‱ Cloud, Fog, Edge ‱ Natural Data Shards ‱ Database Options Of Meshes and Databases Device -> Store -> Web Server https://www.digitaltrends.com/computing/worlds-smallest-computer-dwarfed-by-rice-grain/
  • 13. PRESENTED BY The obvious - but should be mentioned ‱ Data Collection – Choose a Database Problems
  • 14. PRESENTED BY ‱ Responsive Apps ‱ Characterize Responses ‱ Provide Data Marshaling ‱ Manage Connections ‱ Work in Gangs ‱ Pathway Assignments ‱ Pub/Sub ‱ etc. Problems
  • 15. PRESENTED BY Formalize Responses to Sensor Notifications Code: ‹ dapi.on(“com.axiomware.characteristic.axm_count", dapi.addResponse(AXM_countNotify,(value,format,units) => { // do whatever... }) ); dapi.on("com.sensirion.characteristic.humidity", dapi.addResponse(SmartHumi_Notify,(value,format,units) => { // do whatever... console.log("RESPOND -- com.sensirion.characteristic.humidity"); console.log(`${value}, ${format}, ${units}`); }) ); https://www.axiomware.com/
  • 16. PRESENTED BY ‱ Data Availability ‱ Sensor Events ‱ Sensor Streams ‱ Gathering Intervals ‱ Merging into Archives Problems
  • 17. PRESENTED BY Formalize Responses to Sensor Notifications Code: var redis = require("redis"), redClient = redis.createClient(); // leave it to the module to figure out how to connect redClient.on("error", function (err) { console.log("Error " + err); }); dapi.on("com.sensirion.characteristic.humidity", dapi.addResponse(SmartHumi_Notify,(value,format,units) => { console.log(`${value}, ${format}, ${units}`); var humidityOut = formatValue(value,format,units); // redClient.append(myId(SmartHumi_Notify), `,${timeStamp()} : { humidity: ${humidityOut} }`) // new way redClient.xadd(myId(SmartHumi_Notify),`* humidity ${humidityOut}`) }) );
  • 18. PRESENTED BY ‱ Cloud, Fog, Edge ‱ Where to gather data ‱ When to move data blocks ‱ Save Time Series Analysis ‱ Storing Likely Requests Problems Taking Networks into Consideration
  • 19. PRESENTED BY ‱ Natural Shards ‱ Roving Sensors ‱ Trajectories ‱ Not a distributed hash Problems Segmented Trajectories 10:00 10:02 10:03 10:06 10:07 10:08 10:16 10:17 10:18 10:19
  • 20. PRESENTED BY Delivering Long Time Intervals (testing laptops 10K points) ‱ MongoDB – One Collection - linear time in number of points – Part of Document - ‱ InfluxDB – Measurements - better speed ‱ Redis – One Key - fairly constant delivery time - might need higher clock resolution – Stream ‱ Just tried it out Database Options http://www.copious.world/demos/runtimes.html
  • 21. PRESENTED BY Web Page Visualization
  • 22. PRESENTED BY ‱ Reporting Requirements ‱ Streaming ‱ Intervals ‱ State ‱ Rate of Display ‱ Display Options Web Page Visualization Web Server -> Page View
  • 23. PRESENTED BY Web Page Display Techniques are not All Equal ‱ D3 – Interesting DOM Management – Speedy for Special Use Cases ‱ But, the exception can be the rule ‱ Virtual DOM Frameworks (Vue.js e.g.) – DOM Manipulation with Time Series - Questionable ‱ Canvas Versions Just a Little Faster – Great for State Management and Programming Ease ‱ Hardware Accelerated (Pixi.js - flat WebGL) – High speed graphics rendering – Still best to do analysis on the backend Display Options
  • 24. PRESENTED BY You can see the difference
  • 25. PRESENTED BY 1 Prefer Redis for Accessing Data Small, Fast, Easy Formalism. 2 Try to Manage User Expectations but Warm Up Data Coalesce, Archive, Relocate. 3 Stay Foggy Analysis near complete data or wholistic trajectories - deliver less data less often. Conclusions: