openexpo madrid 2015 - advanced applications with mongodb

50

Upload: mongodb

Post on 29-Jul-2015

541 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB
Page 2: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Advanced Applications w/ MongoDB

Things you perhaps were not aware that MongoDB can do for you!

Page 3: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

3

Agenda

Introduction MongoDB

General Aspects of Databases

Modern Age Applications

Available Infrastructure

Page 4: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

4

Introduction

Norberto Leite Technical Evangelist Madrid, Spain http://www.mongodb.com/norberto @nleite [email protected]

Page 5: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

introduction

Page 6: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

6

MongoDB

GENERAL PURPOSE DOCUMENT DATABASE OPEN-SOURCE

Page 7: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

MongoDB is Fully Featured

Page 8: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

8

THE LARGEST ECOSYSTEM 10,000,000+ MongoDB Downloads

250,000+ Online Education Registrants

35,000+ MongoDB User Group Members

35,000+ MongoDB Management Service (MMS) Users

900+ Technology and Services Partners

2,000+ Customers Across All Industries

Page 9: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

9

We are Local! http://www.meetup.com/Madrid-MongoDB-User-Group/events/223154279/

•  1047 members and growing •  Next event 24/06

Page 10: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

MongoDB, Inc.

400+ employees 2,000+ customers

Over $311 million in funding 13 offices around the world

Page 11: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

11

Enabling New Apps Better Customer Experience

Lower TCO Faster Time to Value

MongoDB Business Value

Page 12: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

OUR BUSINESS IS

Page 13: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

13

CREATE APPLICATIONS NEVER BEFORE POSSIBLE

AGILE SCALABLE

Page 14: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Databases

Page 15: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

15

Expressive Query

Language

Strong Consistency

Secondary Indexes

Flexibility

Scalability

Performance

Relational

Page 16: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

16

Relational Database Challenges Data Types

Unstructured data

Semi-structured data

Polymorphic data

Agile Development

Iterative

Short development cycles

New workloads

Volume of Data

Petabytes of data

Trillions of records

Millions of queries/sec

New Architectures

Horizontal scaling

Commodity servers

Cloud computing

Page 17: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Does that mean they are not good anymore?

Page 18: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

18

No, of course not. You are fine!

Page 19: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

19

NoSQL Expressive

Query Language

Strong Consistency

Secondary Indexes

Flexibility

Scalability

Performance

Page 20: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

20

Heisenberg Uncertainty Principle

Page 21: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

21

Expressive Query

Language

Strong Consistency

Secondary Indexes

Flexibility

Scalability

Performance

Relational NoSQL

Relational + NoSQL

Page 22: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

22

Expressive Query

Language

Strong Consistency

Secondary Indexes

Flexibility

Scalability

Performance

Nexus Architecture

Relational + NoSQL

Page 23: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

23

The Database of the Post-Relational Era

Combines the foundation of relational databases with the innovations of NoSQL

Flexible Data Model Performance Scalability

NoSQL Strong Consistency Powerful Query Language Rich Indexes

RELATIONAL

Page 24: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Modern Age Software

Page 25: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Factors Driving Modern Applications Data •  90% data created in last 2 years

•  80% enterprise data is unstructured

•  Unstructured data growing 2X rate

of structured data

Mobile •  2 Billion smartphones by 2015

•  Mobile now >50% internet use

•  26 Billion devices on IoT by

2020

Social •  72% of internet use is social media

•  2 Billion active users monthly

•  93% of businesses use social media

Cloud •  Compute costs declining 33% YOY

•  Storage costs declining 38% YOY

•  Network costs declining 27% YOY

Page 26: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

26

Modern Applications Common Aspects

Page 27: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

27

Data Consolidation

Data  Warehouse  

Real-­‐/me  or  Batch  

Engagement  Applicaiton  

Engagement  Applicaiton  

Opera&onal  Data  Hub   Benefits  •  Real-­‐/me  •  Complete  details  •  Agile  •  Higher  customer  reten/on  

•  Increase  wallet  share  •  Proac/ve  excep/on  handling  

Strategic  

Repo

r/ng  

Opera/onal  Repor/ng  

Cards    

Loans  

Deposits  

Cards    Data  Source  1  

Loans  Data  Source  2  

Deposits  

Data  Source  n  

Page 28: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

28

Molecular Similarity Database

•  Store Chemical Compounds – Fingerprints

•  Want to find compounds which are “close” to a given compound

•  Need to return quickly a small set of reasonable candidates

•  Few researchers working concurrently

•  Use Tanimoto association coefficient to compare two compounds based on their common fingerprints

Page 29: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

29

Big Data Genomics •  Very large base of DNA sample

sequences –  Origin, collection method,

sequence, date, … •  Enumeration of mutations

relative to reference sequence –  Positions, mutation type,

base •  Need to retrieve efficiently all

sequences showing a particular mutation

•  Similar to Content Management System pattern

•  Add tag array in sequence document with mutation names

•  Index tag array •  Queries looking for affected

sequences are indexed and very fast

•  Easy to setup, flexible representation and details for sequences, flexible evolution

•  Can scale to massive volumes

Page 30: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

30

IoT: Large Industrial Vehicle Manufacturer Shard 1

Secondary

Shard 2 Secondary

Shard 3 Secondary

Shard 1 Primary

Shard 1 Secondary

Shard 1 Primary

Shard 1 Secondary

Shard 1 Primary

Shard 1 Secondary

Central Hub

Regional Hub

Regional Hub

Regional Hub

Page 31: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

So… just for fancy applications!??!

Page 32: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

32

Not Necessarily!

Have you ever needed: -  Change the Schema ? -  Iterate Faster ? -  Different Data Types ? -  Geospatial Capabilities?

Page 33: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

33

MOBILE IS HARD MONGODB MAKES IT EASY

Document Model

Dynamic Schema

Horizontal Scalability

New Data

Streams of Fast Data

Scaling Problems

Page 34: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

34

CATALOGS ARE HARD MONGODB MAKES IT EASY

Do the Impossible

Faster

Query Language & Aggregation Framework

Stagnant

Heterogeneous Data

Feature Tradeoffs

Page 35: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

35

CATALOGS ARE HARD MONGODB MAKES IT EASY

Tailor Made To Innovate

Adjust To Your Business Needs

Open Source

Hard to Innovate

Can't Customize at Speed

Expensive

Page 36: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

36

AND MANY OTHERS

Page 37: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Available Infrastructure

Page 38: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Infrastructure “ … the basic equipment and structures (such as roads and bridges)

that are needed for a country, region, or organization to function properly …”

http://www.merriam-webster.com/dictionary/infrastructure

Page 39: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Roman Roads

Page 40: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB
Page 41: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

41

Revolution on Infrastructure

Page 42: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

42

PaaS Services

Page 43: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

43

Services and API's

Page 44: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

44

Modern Infrastructure

Virtual

Redundant

Flexible Diverse

Scalable

Page 45: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Before I leave …

Page 46: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

46

What we discovered today •  Today we have a lot of choices

–  For building applications –  For storing data –  For deployment and infrastructure

•  Our Apps are ever more –  Dynamic –  Fast paced –  Demanding

•  Change is constant and should be embraced •  MongoDB is here to help you

–  Scale –  Iterate –  Get more out of your ideas!

Page 47: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Come and Learn More

https://www.mongodb.com/collateral/mongodb-30-whats-new

Page 48: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Engineering

Sales & Account Management Finance & People Operations

Pre-Sales Engineering Marketing

Join the Team

View all jobs and apply: http://grnh.se/pj10su

Page 49: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB

Obrigado! Norberto Leite Technical Evangelist [email protected] @nleite

Page 50: OPENEXPO Madrid 2015 - Advanced Applications with MongoDB