SlideShare a Scribd company logo
MongoDB Days Silicon Valley
Winning the Dreamforce
Hackathon with MongoDB
db.mongoDaysSV.insert(
{
“init”: “Welcome Message”,
“author”: “Greg Deeds”,
“twitter”: “@TEGBIZ”,
setInterval: 162000
}
);
RAPID PROTOTYPING
with MongoDB
You want to change
the game?
You have 24 hours...
Two True Tales Of
MongoDB
MongoDB & Force // GR
• API driven rapid prototyping
• HEROKU CONTAINERIZATION
• MASS IMPORT DATA SCIENCE
DRONEY EXPRESS // MongoDB your range
• Geospatial & Autonomous
MongoDB or RDBMS
Winning with MongoDB
• Developing Rapid Prototypes
• Winning Hackathons with MongoDB
• Drones / MongoDB {Range Management}
MongoDB
or
stay in the RDBMS Matrix
Give Up The Old And Win
• Traditional DevOps Practitioner moved to Micro-services
{Microsoft .NET & SQL Server}
{Oracle APEX-PL/SQL & Oracle Server}
{Any Linux... MySQL/POSTGRES}
• Teamwork to overworked evolutions
• My SQL Dreams never materialized - {WHATS NEXT!}
• AGILITY TRAIN YOUR MIND AS A LIFESTYLE
The Early Days
MY BACKGROUND
• Started in 1979 {Ti99/Tape Deck}
• Wrote first database on Commodore
• BBS Author/ISP {One of the young ones}
• Multimedia Producer // Software Engineer
• Worked for corporations to startups
{ Military / Federal / Education }
• The Writing is on the Wall - MongoDB Time!
My Computing History
TI-99/4A{circa 1982}
Monuments to Awesome-ness
Languages & Coding
{Berkeley Logo}
Languages & Coding
{Learning to Communicate}
Languages & Coding
{Standing on the Shoulders of Giants
to Communicate}
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
MongoDB
Queries Support Projection!
PROBLEM: The data is available but in various formats,
not easy to use and is changing
• Accessing your government should not be data
science or outside of SalesForce.com
• PLATFORM HEROKU - {the app processing grid}
Our target user ranges from the socially conscious individual to Publicly Traded
Companies and Governments. Our comprehensive tool will allow…
• Grassroots Organizations, Associations
• Publicly Traded Companies
• Lobbyists, PACs and Governments
Manage information
• Up-to-Date Congressional Legislator Directories
• Congressional / State Legislation Tracking
• Easy Meetings Management
• Bill and Amendments Tracking
• Committees and more
We are most proud of the tool because it allows both individuals and
organizations to understand the landscape of our Government, politics,
and social activism.
MongoDB & Droney Express
ForceGR / SPEC
• FORCE.COM APP Generator
• APEX & PL/SQL Classes
• Restful NODEJS HEROKU
• Mongo for Import, Reduce and Production
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
A Global Competition
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
Data Sets Matter
• Variety Of Formats
• YAML // XML // JSON // CSV // TAB
• Normalized only for XML / DTD files.
• Multiple websites crawled/parsed
{Using RSYNC || PHP To Bulk Load Objects}
• Aggregate Pipeline
• Build Words / Terms from triples
• Semantic to understand {What you say}
• Latent Semantic to understand {What you mean}
• MongoDB // Provides both when used in pipeline
with other word bag or terminology generators
• The results are we find correlation in unnormalized
data
Data Miner Mongo DB
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
Over 500k Objects
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
• Monitor the query in MongoDB reactively
{Check to see how the indexes need to improve with a statistics
collection of performance and counters for the API}
• Compound indexes need to be built on geojson first
then other fields when used
• Consider using elastic search to boost the Hackathon
Team to victory if free text is slow
Use Conditional Indexes
{add Agility_new ways working with this data?}
• Find source files over APIs //
{ to maintain high speed with no throttles. Hackathon
bandwidth is varied sometimes when you need it. It gets
worse with time }
• Use Old School Shell Tools //
{ NodeJS is not ideal for all challenges }
• PHP
• PERL
• PyThon
• RSYNC
MISSION: Data Capture
• The focus of TEG’s FORCEGR tool is to
present information into SalesForce users
Desktop
• Then to make decisions about responses to
these decisions
• Further guiding the NodeJS learning engine
APEX CLASSES / INTERACTIONS
question =
(my_department, has, what)
knowledge = (
(I, own, my_apartment),
(my_department, has,
my_computer),
(my_department, has, my_vote),
(my_department, is_in,
Philadelphia)
)
‘$push’
‘$pop’
‘$unset’
‘$set’
bye bye SQL...
Sew the Dataset
The Team
• .NET/Oracle APEX/PLSQL is heavy Spiral DEVOPS
• The Browser Wars- We Won {HTML5/Javascript Rocks}
• SUBVERSION TO GIT DEVOPS TO NEW CHATOPS
{Your Dated If You Can’t GIT With It…}
• Shifts in web computer science
• Multitouch surface the GPU and JavaScript are the
next big shift
Recognizing Shift
• Practice writing specifications for NOSQL
• Use New tools to trap ideas
• CHECK YOUR ROADMAP?
{ are you on course & time? }
• Gain momentum by solving problems quicker
• GIT more done { Practice like you play the game }
• Organization to Reproduce Results
{use automated ‘Agents’ when possible & makes sense}
{containerize your app with docker or Heroku}
Next Generation DevOps
question = (my_department, has, what)
knowledge = (
(I, own, my_apartment),
(my_department, has, my_computer),
(my_department, has, my_vote),
(my_department, is_in, Philadelphia)
)
for each statement in knowledge {
if ((statement.subject == question.subject
or question.subject == what) {
and (statement.predicate == question.predicate
or question.predicate == what)
and (statement.object == question.object
or question.object == what))
call FoundAnswer(statement)
}
}
Output:
Answer: my_department has my_computer
Answer: my_department has my_vote
Pseudocode for Question-
Answering Logic in NodeJS
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
• Ask yourself on each project freshly
{What else is aggregation good for?}
• HINT: You can use the $out pipeline
operator and it will create or replace the
collection it spits out, after the results
are ready....
Aggregation Tips
{ Use the Pipeline, Luke! }
if (! Links.find().count()) {
// init data
var nodeNames = [];
var data = ['Harry,Sally,1.2',
'Rubio,Mario,1.3',
'Obama,Barrack,0.2',
'Thompson,Fred,0.5',
'Peter,Johan,0.7'];
_.each(data, function (val) {
var comp = val.split(',');
Links.insert({ source: comp[0], target: comp[1], compute: comp[2] });
nodeNames.push(comp[0]);
nodeNames.push(comp[1]);
});
// remove duplicates
nodeNames = _.uniq(nodeNames);
_.each(nodeNames, function (name) { Things.insert({ _id: name }); });
}
Finesse by using new tools
VICTORY
It never lasts long enough....
MongoDB &
Droney Express
• HTML5 & WebGL ODM Tools
• MongoDB Powering Geoserver Raster
• Realtime 3-D Model Scenes In A Browser
Hibernate ORM is Dead
{long live MongoDB ODM}
Hibernate ORM VS MongoDB ODM
• Hibernate Maps Java Objects To RDBMS And Is
Proven Not Scalable
• RDBMS load times for a single object graph
(Hibernate/SQL Server) from 3 to 4 seconds
• Relational model is not suited for complex object
graphs.
• Even with massive parallel processing is not
economical
Hibernate Search
• Cannot Beat Elastic-search & MongoDB In
Response Speed
Business Opportunity
• ORM Hibernate JBOSS - Object/Relational Model
{storage has reached the end of life period…}
• MongoDB is the best object store on the market today
• Hibernate is complex when the world needs BSON
• MongoDB is Built For Replication
• Hibernate Replacement Is An Opportunity.
Market Need {MongoDB Sensor ODM}
Project Requirements
• Open Source/No Internet/Limited WiFI
• Runs on variety of low cost hardware
• Auto-deploys Via Docker On IoT Appliance
• Plugin To Existing GeoServer/ESRI/GRASS
• Replace Hibernate With MongoDB
Droney Express
{Range management System}
• Interchange GeoJSON set of Shapes & Waypoints
• RasberryPi Flight Computer running 2d Queries
• Objects Linked To External GIS Engine (GRASS/ESRI)
• AutoPilot Configuration In Flight/Over-The-Air
• MongoDB Monitors Situational Awareness Of
Missions
• GIS Query Results Stream As BSON Objects
What is a Mission?
Geographic Forensics
{sensor data store/search}
MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB
The work of Droney Express
• Planned Geofence Scanning
• 2D/3D indexed sensor data
• GIS & MongoDB Is Powerful
• Integrated GIS Remote Monitoring
• Connect Using DDP To Sync Collections Adhoc
Sensor Range Management
Async Data Sync -> Use Oplog
For Synchronization
Serve GIS markup with pretty
maps using Geoserver...
MongoDB is perfect for
Sensors // sorry Oracle
Flight Plan For Best Routes
GIS Engines Accelerated By
MonogDB Can Handle
more ecological range management
sensors
faster coordinated ground and drone
assets
GEOJSON / MONGODB 2d
DRAINAGE MODELING
GIS ENGINE & PLUGIN
Droney Express Flight Planner
Least Cost Power & Route Calculator Export Tools For 3DR Ardupilot.
Replica Sets Are Ideal For
Network Segregation
HQ is Always Primary - Drones Always Secondary
Force Constant State of Disaster Recovery - Dedup
Drones Are Small Autonomous Collection Vehicles
Eventual Consistency In Loosely Coupled Networks
MongoDB Makes Life Easy
Secondaries DeDup Secondaries To Update HQ GIS
Backends For Mission Planning & Sensor Datasets
Droney Heartbeatmodeled from mongoDB University
Airborne MongoDB Prevent Election Of New Primary
Droney Flight Computer Always Have Priority Of 0
They Never Get Elected To Primary
[Priority, Optime, Connections]
Sync Using Oplog To HQ After Weeks In Field
Network Environment Spotty For MongoDB Servers
Statement Replication
...Getting The Data To HQ
Droney Acquires Forensic Sensor Data - ‘A Data Silo’
Facilitates Greater Independence
Replicate Based Oplog For Forensic Time-coding
Member Replica Sync Stored Records Using Oplog
Use Oplog To Journal AutoPilot For Flight Review
MongoDB Secondaries Apply Unique ID Vs Primary
Keeps Mobile Workers From Overwriting Datasets
Cheap IoT Devices MongoDB 32bit
Flight Computers & Range Sensors With Embedded MongoDB
In Flight Computers Are Low Power/LINUX Threaded
Sensors Streaming Data To/From MongoDB
Autopilot Flight Recorder Is MongoDB/NodeJS
IoT SD Cards - Ideal For Circular Buffers In Flight
Circular Buffers Makes Room For New Documents
Overwrite The Oldest Documents In A Collection
Final Thought..
NO CAMPING … KEEP CLIMBING!
CONSIDER THE FUTURE OF YOUR TIME
STUDY NEXT GENERATION DEVOPS
SAY “WHY CANT WE FIRST”
SHARPEN UP REGULARLY
TEST YOUR SKILLS OR TEACH A SKILL
Greg Deeds
Technology Exploration Group
SALES@TEGbiz.com
www.TEGbiz.com
@TEGbiz
@DRONEYEXPRESS
@3dVRviewers

More Related Content

What's hot (20)

PPT
Migrating to MongoDB: Best Practices
MongoDB
 
PPTX
MongoDB Schema Design: Practical Applications and Implications
MongoDB
 
PPTX
Database Trends for Modern Applications: Why the Database You Choose Matters
MongoDB
 
PPT
5 Pitfalls to Avoid with MongoDB
Tim Callaghan
 
PDF
Webinar: Building Your First App with MongoDB and Java
MongoDB
 
PPTX
MongoDB 101
Abhijeet Vaikar
 
PDF
Building your first app with MongoDB
Norberto Leite
 
PPTX
Intro To Mongo Db
chriskite
 
PDF
Back to Basics 2017: Mí primera aplicación MongoDB
MongoDB
 
PPTX
Conceptos básicos. Seminario web 2: Su primera aplicación MongoDB
MongoDB
 
KEY
MongoDB
Steven Francia
 
PDF
Introduction to MongoDB
Justin Smestad
 
PPTX
Back to Basics Webinar 1: Introduction to NoSQL
MongoDB
 
ODP
MongoDB : The Definitive Guide
Wildan Maulana
 
PDF
Mongo DB
Edureka!
 
PDF
How To Connect Spark To Your Own Datasource
MongoDB
 
PPTX
Back to Basics Spanish 4 Introduction to sharding
MongoDB
 
KEY
Practical Ruby Projects With Mongo Db
Alex Sharp
 
PPTX
Conceptos básicos. seminario web 3 : Diseño de esquema pensado para documentos
MongoDB
 
PPTX
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
MongoDB
 
Migrating to MongoDB: Best Practices
MongoDB
 
MongoDB Schema Design: Practical Applications and Implications
MongoDB
 
Database Trends for Modern Applications: Why the Database You Choose Matters
MongoDB
 
5 Pitfalls to Avoid with MongoDB
Tim Callaghan
 
Webinar: Building Your First App with MongoDB and Java
MongoDB
 
MongoDB 101
Abhijeet Vaikar
 
Building your first app with MongoDB
Norberto Leite
 
Intro To Mongo Db
chriskite
 
Back to Basics 2017: Mí primera aplicación MongoDB
MongoDB
 
Conceptos básicos. Seminario web 2: Su primera aplicación MongoDB
MongoDB
 
Introduction to MongoDB
Justin Smestad
 
Back to Basics Webinar 1: Introduction to NoSQL
MongoDB
 
MongoDB : The Definitive Guide
Wildan Maulana
 
Mongo DB
Edureka!
 
How To Connect Spark To Your Own Datasource
MongoDB
 
Back to Basics Spanish 4 Introduction to sharding
MongoDB
 
Practical Ruby Projects With Mongo Db
Alex Sharp
 
Conceptos básicos. seminario web 3 : Diseño de esquema pensado para documentos
MongoDB
 
Conceptos básicos. Seminario web 4: Indexación avanzada, índices de texto y g...
MongoDB
 

Similar to MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB (20)

PDF
Accra MongoDB User Group
MongoDB
 
PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
PPTX
CDC to the Max!
Bronco Oostermeyer
 
PPTX
Big Data and NoSQL for Database and BI Pros
Andrew Brust
 
PDF
Dsdt meetup 2017 11-21
JDA Labs MTL
 
PDF
DSDT Meetup Nov 2017
DSDT_MTL
 
PDF
Confluent & MongoDB APAC Lunch & Learn
confluent
 
PDF
SQL vs NoSQL, an experiment with MongoDB
Marco Segato
 
PPT
MongoDB Tick Data Presentation
MongoDB
 
PPTX
Big Data Goes Airborne. Propelling Your Big Data Initiative with Ironcluster ...
Precisely
 
PPTX
Full-stack Web Development with MongoDB, Node.js and AWS
MongoDB
 
PPTX
Paris Data Geek - Spark Streaming
Djamel Zouaoui
 
PPTX
MongoDB Charts Meetup - 7-24-2018
Jay Gordon
 
PPTX
Augmenting Mongo DB with treasure data
Treasure Data, Inc.
 
PPTX
Augmenting Mongo DB with Treasure Data
Treasure Data, Inc.
 
PDF
Log everything! @DC13
DECK36
 
PPTX
Intro to big data analytics using microsoft machine learning server with spark
Alex Zeltov
 
PDF
Workshop on Google Cloud Data Platform
GoDataDriven
 
PDF
JavaScript for Enterprise Applications
Piyush Katariya
 
Accra MongoDB User Group
MongoDB
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB
 
CDC to the Max!
Bronco Oostermeyer
 
Big Data and NoSQL for Database and BI Pros
Andrew Brust
 
Dsdt meetup 2017 11-21
JDA Labs MTL
 
DSDT Meetup Nov 2017
DSDT_MTL
 
Confluent & MongoDB APAC Lunch & Learn
confluent
 
SQL vs NoSQL, an experiment with MongoDB
Marco Segato
 
MongoDB Tick Data Presentation
MongoDB
 
Big Data Goes Airborne. Propelling Your Big Data Initiative with Ironcluster ...
Precisely
 
Full-stack Web Development with MongoDB, Node.js and AWS
MongoDB
 
Paris Data Geek - Spark Streaming
Djamel Zouaoui
 
MongoDB Charts Meetup - 7-24-2018
Jay Gordon
 
Augmenting Mongo DB with treasure data
Treasure Data, Inc.
 
Augmenting Mongo DB with Treasure Data
Treasure Data, Inc.
 
Log everything! @DC13
DECK36
 
Intro to big data analytics using microsoft machine learning server with spark
Alex Zeltov
 
Workshop on Google Cloud Data Platform
GoDataDriven
 
JavaScript for Enterprise Applications
Piyush Katariya
 

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB
 
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB
 

Recently uploaded (20)

PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
Français Patch Tuesday - Juillet
Ivanti
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 

MongoDB Days Silicon Valley: Winning the Dreamforce Hackathon with MongoDB

  • 1. MongoDB Days Silicon Valley Winning the Dreamforce Hackathon with MongoDB
  • 2. db.mongoDaysSV.insert( { “init”: “Welcome Message”, “author”: “Greg Deeds”, “twitter”: “@TEGBIZ”, setInterval: 162000 } );
  • 4. You want to change the game? You have 24 hours...
  • 5. Two True Tales Of MongoDB MongoDB & Force // GR • API driven rapid prototyping • HEROKU CONTAINERIZATION • MASS IMPORT DATA SCIENCE DRONEY EXPRESS // MongoDB your range • Geospatial & Autonomous
  • 7. Winning with MongoDB • Developing Rapid Prototypes • Winning Hackathons with MongoDB • Drones / MongoDB {Range Management}
  • 8. MongoDB or stay in the RDBMS Matrix
  • 9. Give Up The Old And Win • Traditional DevOps Practitioner moved to Micro-services {Microsoft .NET & SQL Server} {Oracle APEX-PL/SQL & Oracle Server} {Any Linux... MySQL/POSTGRES} • Teamwork to overworked evolutions • My SQL Dreams never materialized - {WHATS NEXT!} • AGILITY TRAIN YOUR MIND AS A LIFESTYLE
  • 11. MY BACKGROUND • Started in 1979 {Ti99/Tape Deck} • Wrote first database on Commodore • BBS Author/ISP {One of the young ones} • Multimedia Producer // Software Engineer • Worked for corporations to startups { Military / Federal / Education } • The Writing is on the Wall - MongoDB Time!
  • 16. Languages & Coding {Learning to Communicate}
  • 17. Languages & Coding {Standing on the Shoulders of Giants to Communicate}
  • 20. PROBLEM: The data is available but in various formats, not easy to use and is changing • Accessing your government should not be data science or outside of SalesForce.com • PLATFORM HEROKU - {the app processing grid}
  • 21. Our target user ranges from the socially conscious individual to Publicly Traded Companies and Governments. Our comprehensive tool will allow… • Grassroots Organizations, Associations • Publicly Traded Companies • Lobbyists, PACs and Governments Manage information • Up-to-Date Congressional Legislator Directories • Congressional / State Legislation Tracking • Easy Meetings Management • Bill and Amendments Tracking • Committees and more We are most proud of the tool because it allows both individuals and organizations to understand the landscape of our Government, politics, and social activism.
  • 22. MongoDB & Droney Express
  • 23. ForceGR / SPEC • FORCE.COM APP Generator • APEX & PL/SQL Classes • Restful NODEJS HEROKU • Mongo for Import, Reduce and Production
  • 28. Data Sets Matter • Variety Of Formats • YAML // XML // JSON // CSV // TAB • Normalized only for XML / DTD files. • Multiple websites crawled/parsed {Using RSYNC || PHP To Bulk Load Objects} • Aggregate Pipeline • Build Words / Terms from triples
  • 29. • Semantic to understand {What you say} • Latent Semantic to understand {What you mean} • MongoDB // Provides both when used in pipeline with other word bag or terminology generators • The results are we find correlation in unnormalized data Data Miner Mongo DB
  • 34. • Monitor the query in MongoDB reactively {Check to see how the indexes need to improve with a statistics collection of performance and counters for the API} • Compound indexes need to be built on geojson first then other fields when used • Consider using elastic search to boost the Hackathon Team to victory if free text is slow Use Conditional Indexes {add Agility_new ways working with this data?}
  • 35. • Find source files over APIs // { to maintain high speed with no throttles. Hackathon bandwidth is varied sometimes when you need it. It gets worse with time } • Use Old School Shell Tools // { NodeJS is not ideal for all challenges } • PHP • PERL • PyThon • RSYNC MISSION: Data Capture
  • 36. • The focus of TEG’s FORCEGR tool is to present information into SalesForce users Desktop • Then to make decisions about responses to these decisions • Further guiding the NodeJS learning engine APEX CLASSES / INTERACTIONS
  • 37. question = (my_department, has, what) knowledge = ( (I, own, my_apartment), (my_department, has, my_computer), (my_department, has, my_vote), (my_department, is_in, Philadelphia) )
  • 40. • .NET/Oracle APEX/PLSQL is heavy Spiral DEVOPS • The Browser Wars- We Won {HTML5/Javascript Rocks} • SUBVERSION TO GIT DEVOPS TO NEW CHATOPS {Your Dated If You Can’t GIT With It…} • Shifts in web computer science • Multitouch surface the GPU and JavaScript are the next big shift Recognizing Shift
  • 41. • Practice writing specifications for NOSQL • Use New tools to trap ideas • CHECK YOUR ROADMAP? { are you on course & time? } • Gain momentum by solving problems quicker • GIT more done { Practice like you play the game } • Organization to Reproduce Results {use automated ‘Agents’ when possible & makes sense} {containerize your app with docker or Heroku} Next Generation DevOps
  • 42. question = (my_department, has, what) knowledge = ( (I, own, my_apartment), (my_department, has, my_computer), (my_department, has, my_vote), (my_department, is_in, Philadelphia) ) for each statement in knowledge { if ((statement.subject == question.subject or question.subject == what) { and (statement.predicate == question.predicate or question.predicate == what) and (statement.object == question.object or question.object == what)) call FoundAnswer(statement) } } Output: Answer: my_department has my_computer Answer: my_department has my_vote Pseudocode for Question- Answering Logic in NodeJS
  • 44. • Ask yourself on each project freshly {What else is aggregation good for?} • HINT: You can use the $out pipeline operator and it will create or replace the collection it spits out, after the results are ready.... Aggregation Tips { Use the Pipeline, Luke! }
  • 45. if (! Links.find().count()) { // init data var nodeNames = []; var data = ['Harry,Sally,1.2', 'Rubio,Mario,1.3', 'Obama,Barrack,0.2', 'Thompson,Fred,0.5', 'Peter,Johan,0.7']; _.each(data, function (val) { var comp = val.split(','); Links.insert({ source: comp[0], target: comp[1], compute: comp[2] }); nodeNames.push(comp[0]); nodeNames.push(comp[1]); }); // remove duplicates nodeNames = _.uniq(nodeNames); _.each(nodeNames, function (name) { Things.insert({ _id: name }); }); } Finesse by using new tools
  • 46. VICTORY It never lasts long enough....
  • 48. • HTML5 & WebGL ODM Tools • MongoDB Powering Geoserver Raster • Realtime 3-D Model Scenes In A Browser Hibernate ORM is Dead {long live MongoDB ODM}
  • 49. Hibernate ORM VS MongoDB ODM • Hibernate Maps Java Objects To RDBMS And Is Proven Not Scalable • RDBMS load times for a single object graph (Hibernate/SQL Server) from 3 to 4 seconds • Relational model is not suited for complex object graphs. • Even with massive parallel processing is not economical Hibernate Search • Cannot Beat Elastic-search & MongoDB In Response Speed Business Opportunity
  • 50. • ORM Hibernate JBOSS - Object/Relational Model {storage has reached the end of life period…} • MongoDB is the best object store on the market today • Hibernate is complex when the world needs BSON • MongoDB is Built For Replication • Hibernate Replacement Is An Opportunity. Market Need {MongoDB Sensor ODM}
  • 51. Project Requirements • Open Source/No Internet/Limited WiFI • Runs on variety of low cost hardware • Auto-deploys Via Docker On IoT Appliance • Plugin To Existing GeoServer/ESRI/GRASS • Replace Hibernate With MongoDB Droney Express {Range management System}
  • 52. • Interchange GeoJSON set of Shapes & Waypoints • RasberryPi Flight Computer running 2d Queries • Objects Linked To External GIS Engine (GRASS/ESRI) • AutoPilot Configuration In Flight/Over-The-Air • MongoDB Monitors Situational Awareness Of Missions • GIS Query Results Stream As BSON Objects What is a Mission?
  • 55. The work of Droney Express • Planned Geofence Scanning • 2D/3D indexed sensor data • GIS & MongoDB Is Powerful • Integrated GIS Remote Monitoring • Connect Using DDP To Sync Collections Adhoc
  • 57. Async Data Sync -> Use Oplog For Synchronization Serve GIS markup with pretty maps using Geoserver... MongoDB is perfect for Sensors // sorry Oracle
  • 58. Flight Plan For Best Routes GIS Engines Accelerated By MonogDB Can Handle more ecological range management sensors faster coordinated ground and drone assets
  • 59. GEOJSON / MONGODB 2d DRAINAGE MODELING
  • 60. GIS ENGINE & PLUGIN Droney Express Flight Planner Least Cost Power & Route Calculator Export Tools For 3DR Ardupilot.
  • 61. Replica Sets Are Ideal For Network Segregation HQ is Always Primary - Drones Always Secondary Force Constant State of Disaster Recovery - Dedup Drones Are Small Autonomous Collection Vehicles Eventual Consistency In Loosely Coupled Networks MongoDB Makes Life Easy Secondaries DeDup Secondaries To Update HQ GIS Backends For Mission Planning & Sensor Datasets
  • 62. Droney Heartbeatmodeled from mongoDB University Airborne MongoDB Prevent Election Of New Primary Droney Flight Computer Always Have Priority Of 0 They Never Get Elected To Primary [Priority, Optime, Connections] Sync Using Oplog To HQ After Weeks In Field Network Environment Spotty For MongoDB Servers
  • 63. Statement Replication ...Getting The Data To HQ Droney Acquires Forensic Sensor Data - ‘A Data Silo’ Facilitates Greater Independence Replicate Based Oplog For Forensic Time-coding Member Replica Sync Stored Records Using Oplog Use Oplog To Journal AutoPilot For Flight Review MongoDB Secondaries Apply Unique ID Vs Primary Keeps Mobile Workers From Overwriting Datasets
  • 64. Cheap IoT Devices MongoDB 32bit Flight Computers & Range Sensors With Embedded MongoDB In Flight Computers Are Low Power/LINUX Threaded Sensors Streaming Data To/From MongoDB Autopilot Flight Recorder Is MongoDB/NodeJS IoT SD Cards - Ideal For Circular Buffers In Flight Circular Buffers Makes Room For New Documents Overwrite The Oldest Documents In A Collection
  • 65. Final Thought.. NO CAMPING … KEEP CLIMBING! CONSIDER THE FUTURE OF YOUR TIME STUDY NEXT GENERATION DEVOPS SAY “WHY CANT WE FIRST” SHARPEN UP REGULARLY TEST YOUR SKILLS OR TEACH A SKILL
  • 66. Greg Deeds Technology Exploration Group [email protected] www.TEGbiz.com @TEGbiz @DRONEYEXPRESS @3dVRviewers