SlideShare ist ein Scribd-Unternehmen logo
1 von 17
@m4rcsch




Typische MongoDB
Anwendungsfälle
Marc Schwering
Solutions Architect, 10gen
NoSQL & MongoDB
NoSQL Eigenschaften
Flexible Datentypen          Hoher                              Große Datenmengen
• Listen, eingebettete       Datendurchsatz                     • Aggregierte Datengröße
  Objekte                    • Lesen                            • Anzahl an Datensätzen
• Sparse Data                • Schreiben
• Semi-strukturierte Daten
• Agile Development

geringe Latenz               Cloud Computing                    Commodity
• Fürs lesen und schreiben   • Läuft “überall”                  Hardware
• ms Bereich                 • Keine spezielle Hardware         • Ethernet
                                                                • Lokaler Datenspeicher




                             Marc Schwering, 10gen - @m4rcsch
MongoDB
Flexible Datentypen          Hoher                              Große Datenmengen
• Listen, eingebettete       Datendurchsatz                     • Aggregierte Datengröße
      • JSON basiert
  Objekte                    • Lesen                                 • an Datensätzen
                                                                • AnzahlgridFS
• SparseDynamische                • Auto
      • schemas              • Schreiben                            • Transparente
• Semi-strukturierte Daten           Fragmentierung
         Schemata                                                     Fragmentierung
• Agile Development

geringe Latenz               Cloud Computing                    Commodity
• Fürs lesen und schreiben   • Läuft “überall”                  Hardware
     • In-memory
• ms Bereich                      • Einfaches Setup
                             • Keine spezielle Hardware         • Ethernet
      cache                                                          • X86_64 Systeme
                                 • Breite                       • Lokaler Datenspeicher
    • Scale-out                                                     • Lokales fs
                                   Unterstützung
      working set




                             Marc Schwering, 10gen - @m4rcsch
Anwendungsfälle / Use
Cases
High Volume Data Feeds
Maschinendate    • Sehr viele Sensoren “überall”
      n          • Variable Struktur(en)



Aktienhandel     • Hochfrequenzhandel



                 • Viele Datenquellen
 Social Media    • Formatänderungen


                Marc Schwering, 10gen - @m4rcsch
High Volume Data Feeds
                                                               Flexibles Schema für
                                                                   Datenformat-
                                                                   anpassungen
      Asynchrones
       schreiben




 Data
  Data
Sources
    Data                                                           WriteConcern:
 Sources
   Datenquel
  Sources                                                            SafeMode
      len                                                           (in Memory)




         Skalierung durch
         Fragmentierung


                            Marc Schwering, 10gen - @m4rcsch
Operational Intelligence
                • Extrem viele Statiwechsel (Tracking)
Ad Targeting    • Strikte Anforderungen an Latenz



 Real time      • Reporting für tausende von Nutzern
dashboards      • Konsistente Echtzeit Updates!



Social Media    • Worüber sprechen die Leute?
 Monitoring

               Marc Schwering, 10gen - @m4rcsch
Operational Intelligence
                                                          Parallelisierung
                                                           von Lese.- und
          Geringe Leselatenz
                                                          Schreibzugriffen
                                                           via Shards und
                                                              Replikas




    API                                                   Pre-Aggregation &
                                                             Aggregation
                                                             Framework




  Dashboards
                                                          Flexible Schemata
                                                          für verschiedenste
     Transparente                                            Inputformate
      Skalierung


                       Marc Schwering, 10gen - @m4rcsch
Beispiel Tracking &
    Conversion
                                                               Umfangreiches
                                                            Schema um komplexe
                                                              Stati abzubilden
1    See Ad

                                       { cookie_id: ‚1234512413243‛,
               “Scale out” für hohen
                                         advertiser:{
                 Datendurchsatz             apple: {
     See Ad                                    actions: [
2                                                 { impression: ‘ad1’, time: 123 },
                                                  { impression: ‘ad2’, time: 232 },
                                                  { click: ‘ad2’, time: 235 },
                                                  { add_to_cart: ‘laptop’,
                                                     sku: ‘asdf23f’,
                                                     time: 254 },
3    Click                                        { purchase: ‘laptop’, time: 354 }
                              Dynamische       ] …
                           Schemata durch
                         Kundenanforderunge
                                 n
4    Convert


                        Marc Schwering, 10gen - @m4rcsch
Management von Metadaten
Datenarchivie    • Metadaten
    rung         • Referenzspeicher



Informationsa    • Datamining
    nalyse

                 • Retina Scans
  Biometrie      • Fingerabdrücke


                Marc Schwering, 10gen - @m4rcsch
Metadaten Beispiel
                                                                 Umfangreiche
                                                                  Abfrage und
                                                                 Indexierungs-
                                                                 möglichkeiten.
    db.archives.
       find({ ‚country”: ‚Egypt‛ });

                                                                      Flexibles Daten-
                                                                           Modell



{ type: ‚Artefact‛,                        { ISBN: ‚00e8da9b‛,
  medium: ‚Ceramic‛,                         type: ‚Book‛,
  country: ‚Egypt‛,                          country: ‚Egypt‛,
  year: ‚3000 BC‛                            title: ‚Ancient Egypt‛
}                                          }




                       Marc Schwering, 10gen - @m4rcsch
Content Management
                • Nutzergenerierte Inhalte
News-Seite      • Personalisierung von Inhalt und
                  Layout


Verschiedene    • Layout “on the fly”
   Kanäle       • Kaum statischer Inhalt




  Sharing       • Binär.- und Metadaten



               Marc Schwering, 10gen - @m4rcsch
Content Management
                              Flexibles Schema für                               GeoSpatial Index
GridFS für Binärdaten               einfache
                                 Erweiterungen

                                                   { camera: ‚Nikon d4‛,
                                                     location: [ -122.418333, 37.775 ]
                                                   }



                                                   { camera: ‚Canon 5d mkII‛,
                                                     people: [ ‚Jim‛, ‚Carol‛ ],
                                                     taken_on: ISODate("2012-03-07T18:32:35.002Z")
                                                   }


                                                   { origin: ‚facebook.com/photos/xwdf23fsdf‛,
                                                     license: ‚Creative Commons CC0‛,
                                                     size: {
                                                        dimensions: [ 124, 52 ],
            Horizontale                                 units: ‚pixels‛
                                                     }
         Skalierbarkeit für
                                                   }
         große Datensätze

                                   Marc Schwering, 10gen - @m4rcsch
Passt mein Use-Case zu
MongoDB?
Projekt Charakteristika
Applikations-Anforderungen        Warum MongoDB gut passen könnte
Variable Daten in Objekten        Dynamische Schemata und JSON erlauben
                                  flexible Datenspeicherung ohne Sparse-Tabellen
                                  oder komplexe “JOINS”.
Geringe Latenz                    MongoDB Memory Mapping bietet ”In-Memory”-
                                  Geschwindigkeit und ist konsistent.
Hoher Datendurchsatz              Sharding und Replikation für einfache
und/oder viele Daten              Skalierbarkeit
Cloud-basiertes deployment        Sharding und Replikation nutzen alle
                                  Möglichkeiten von Cloud-Computing
Wechselnde                        Flexibles Datenmodell ermöglicht agile
Business Anforderungen            Softwareentwicklung




                             Marc Schwering, 10gen - @m4rcsch
Vielen Dank!
Fragen?
   Chat, oder: @m4rcsch


Kommende Events:
   MongoDB Berlin: 26. Feb. ( http://welu.se/1Zl )
   Webinar über MongoDB v 2.4 (Ende März)
Marc Schwering, Solutions Architect -10gen (the MongoDB Company)

Weitere ähnliche Inhalte

Ähnlich wie Webinar: Typische MongoDB Anwendungsfälle (Common MongoDB Use Cases) 

Hadoop Einführung @codecentric
Hadoop Einführung @codecentricHadoop Einführung @codecentric
Hadoop Einführung @codecentricimalik8088
 
Neo4j Use Cases - Graphdatenbanken im Einsatz
Neo4j Use Cases - Graphdatenbanken im EinsatzNeo4j Use Cases - Graphdatenbanken im Einsatz
Neo4j Use Cases - Graphdatenbanken im EinsatzNeo4j
 
Data Mining und OLAP
Data Mining und OLAPData Mining und OLAP
Data Mining und OLAPmurat9393
 
Data Is The New Oil
Data Is The New OilData Is The New Oil
Data Is The New OilParStream
 
mongoDB im Einsatz - Grundlagen
mongoDB im Einsatz - GrundlagenmongoDB im Einsatz - Grundlagen
mongoDB im Einsatz - Grundlageninovex GmbH
 
Data lake vs Data Warehouse: Hybrid Architectures
Data lake vs Data Warehouse: Hybrid ArchitecturesData lake vs Data Warehouse: Hybrid Architectures
Data lake vs Data Warehouse: Hybrid ArchitecturesComsysto Reply GmbH
 
Einsatz von Open Data für agile Wissensvermittlung
Einsatz von Open Data für agile WissensvermittlungEinsatz von Open Data für agile Wissensvermittlung
Einsatz von Open Data für agile WissensvermittlungMonika Steinberg
 
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...AWS Germany
 
Product Update: Infopark Cloud Express - Thomas Witt
Product Update: Infopark Cloud Express - Thomas WittProduct Update: Infopark Cloud Express - Thomas Witt
Product Update: Infopark Cloud Express - Thomas WittJustRelate
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformRising Media Ltd.
 
Dataservices - Data Processing mit Microservices
Dataservices - Data Processing mit MicroservicesDataservices - Data Processing mit Microservices
Dataservices - Data Processing mit MicroservicesQAware GmbH
 
Webinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpaces
Webinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpacesWebinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpaces
Webinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpacesAWS Germany
 
Private Cloud mit Open Source
Private Cloud mit Open SourcePrivate Cloud mit Open Source
Private Cloud mit Open SourceDaniel Schneller
 
Big Data Webinar (Deutsch)
Big Data Webinar (Deutsch)Big Data Webinar (Deutsch)
Big Data Webinar (Deutsch)AWS Germany
 
Public Cloud Erfahrungsbericht SBB
Public Cloud Erfahrungsbericht SBBPublic Cloud Erfahrungsbericht SBB
Public Cloud Erfahrungsbericht SBBBATbern
 
Cloud Native und Java EE: Freund oder Feind?
Cloud Native und Java EE: Freund oder Feind?Cloud Native und Java EE: Freund oder Feind?
Cloud Native und Java EE: Freund oder Feind?Josef Adersberger
 
Cloud Native & Java EE: Freund oder Feind?
Cloud Native & Java EE: Freund oder Feind?Cloud Native & Java EE: Freund oder Feind?
Cloud Native & Java EE: Freund oder Feind?QAware GmbH
 
Textanalyse mit UIMA und Hadoop
Textanalyse mit UIMA und HadoopTextanalyse mit UIMA und Hadoop
Textanalyse mit UIMA und Hadoopinovex GmbH
 
OCR und Strukturerkennung für Zeitungen
OCR und Strukturerkennung für ZeitungenOCR und Strukturerkennung für Zeitungen
OCR und Strukturerkennung für Zeitungencneudecker
 

Ähnlich wie Webinar: Typische MongoDB Anwendungsfälle (Common MongoDB Use Cases)  (20)

Hadoop Einführung @codecentric
Hadoop Einführung @codecentricHadoop Einführung @codecentric
Hadoop Einführung @codecentric
 
Neo4j Use Cases - Graphdatenbanken im Einsatz
Neo4j Use Cases - Graphdatenbanken im EinsatzNeo4j Use Cases - Graphdatenbanken im Einsatz
Neo4j Use Cases - Graphdatenbanken im Einsatz
 
Data Mining und OLAP
Data Mining und OLAPData Mining und OLAP
Data Mining und OLAP
 
Data Is The New Oil
Data Is The New OilData Is The New Oil
Data Is The New Oil
 
mongoDB im Einsatz - Grundlagen
mongoDB im Einsatz - GrundlagenmongoDB im Einsatz - Grundlagen
mongoDB im Einsatz - Grundlagen
 
Data lake vs Data Warehouse: Hybrid Architectures
Data lake vs Data Warehouse: Hybrid ArchitecturesData lake vs Data Warehouse: Hybrid Architectures
Data lake vs Data Warehouse: Hybrid Architectures
 
Einsatz von Open Data für agile Wissensvermittlung
Einsatz von Open Data für agile WissensvermittlungEinsatz von Open Data für agile Wissensvermittlung
Einsatz von Open Data für agile Wissensvermittlung
 
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
 
Product Update: Infopark Cloud Express - Thomas Witt
Product Update: Infopark Cloud Express - Thomas WittProduct Update: Infopark Cloud Express - Thomas Witt
Product Update: Infopark Cloud Express - Thomas Witt
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
 
Dataservices - Data Processing mit Microservices
Dataservices - Data Processing mit MicroservicesDataservices - Data Processing mit Microservices
Dataservices - Data Processing mit Microservices
 
Webinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpaces
Webinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpacesWebinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpaces
Webinar Neues von der re:invent 2013 Teil 2: Kinesis, AppStream, WorkSpaces
 
The cloud 2011
The cloud 2011The cloud 2011
The cloud 2011
 
Private Cloud mit Open Source
Private Cloud mit Open SourcePrivate Cloud mit Open Source
Private Cloud mit Open Source
 
Big Data Webinar (Deutsch)
Big Data Webinar (Deutsch)Big Data Webinar (Deutsch)
Big Data Webinar (Deutsch)
 
Public Cloud Erfahrungsbericht SBB
Public Cloud Erfahrungsbericht SBBPublic Cloud Erfahrungsbericht SBB
Public Cloud Erfahrungsbericht SBB
 
Cloud Native und Java EE: Freund oder Feind?
Cloud Native und Java EE: Freund oder Feind?Cloud Native und Java EE: Freund oder Feind?
Cloud Native und Java EE: Freund oder Feind?
 
Cloud Native & Java EE: Freund oder Feind?
Cloud Native & Java EE: Freund oder Feind?Cloud Native & Java EE: Freund oder Feind?
Cloud Native & Java EE: Freund oder Feind?
 
Textanalyse mit UIMA und Hadoop
Textanalyse mit UIMA und HadoopTextanalyse mit UIMA und Hadoop
Textanalyse mit UIMA und Hadoop
 
OCR und Strukturerkennung für Zeitungen
OCR und Strukturerkennung für ZeitungenOCR und Strukturerkennung für Zeitungen
OCR und Strukturerkennung für Zeitungen
 

Mehr von MongoSF

Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)MongoSF
 
C# Development (Sam Corder)
C# Development (Sam Corder)C# Development (Sam Corder)
C# Development (Sam Corder)MongoSF
 
Flexible Event Tracking (Paul Gebheim)
Flexible Event Tracking (Paul Gebheim)Flexible Event Tracking (Paul Gebheim)
Flexible Event Tracking (Paul Gebheim)MongoSF
 
Administration (Eliot Horowitz)
Administration (Eliot Horowitz)Administration (Eliot Horowitz)
Administration (Eliot Horowitz)MongoSF
 
Ruby Development and MongoMapper (John Nunemaker)
Ruby Development and MongoMapper (John Nunemaker)Ruby Development and MongoMapper (John Nunemaker)
Ruby Development and MongoMapper (John Nunemaker)MongoSF
 
MongoHQ (Jason McCay & Ben Wyrosdick)
MongoHQ (Jason McCay & Ben Wyrosdick)MongoHQ (Jason McCay & Ben Wyrosdick)
MongoHQ (Jason McCay & Ben Wyrosdick)MongoSF
 
Administration
AdministrationAdministration
AdministrationMongoSF
 
Sharding with MongoDB (Eliot Horowitz)
Sharding with MongoDB (Eliot Horowitz)Sharding with MongoDB (Eliot Horowitz)
Sharding with MongoDB (Eliot Horowitz)MongoSF
 
Practical Ruby Projects (Alex Sharp)
Practical Ruby Projects (Alex Sharp)Practical Ruby Projects (Alex Sharp)
Practical Ruby Projects (Alex Sharp)MongoSF
 
Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)MongoSF
 
Debugging Ruby (Aman Gupta)
Debugging Ruby (Aman Gupta)Debugging Ruby (Aman Gupta)
Debugging Ruby (Aman Gupta)MongoSF
 
Indexing and Query Optimizer (Aaron Staple)
Indexing and Query Optimizer (Aaron Staple)Indexing and Query Optimizer (Aaron Staple)
Indexing and Query Optimizer (Aaron Staple)MongoSF
 
MongoDB Replication (Dwight Merriman)
MongoDB Replication (Dwight Merriman)MongoDB Replication (Dwight Merriman)
MongoDB Replication (Dwight Merriman)MongoSF
 
Zero to Mongo in 60 Hours
Zero to Mongo in 60 HoursZero to Mongo in 60 Hours
Zero to Mongo in 60 HoursMongoSF
 
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)MongoSF
 
PHP Development with MongoDB (Fitz Agard)
PHP Development with MongoDB (Fitz Agard)PHP Development with MongoDB (Fitz Agard)
PHP Development with MongoDB (Fitz Agard)MongoSF
 
Java Development with MongoDB (James Williams)
Java Development with MongoDB (James Williams)Java Development with MongoDB (James Williams)
Java Development with MongoDB (James Williams)MongoSF
 
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...MongoSF
 
From MySQL to MongoDB at Wordnik (Tony Tam)
From MySQL to MongoDB at Wordnik (Tony Tam)From MySQL to MongoDB at Wordnik (Tony Tam)
From MySQL to MongoDB at Wordnik (Tony Tam)MongoSF
 
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)MongoSF
 

Mehr von MongoSF (20)

Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)Schema design with MongoDB (Dwight Merriman)
Schema design with MongoDB (Dwight Merriman)
 
C# Development (Sam Corder)
C# Development (Sam Corder)C# Development (Sam Corder)
C# Development (Sam Corder)
 
Flexible Event Tracking (Paul Gebheim)
Flexible Event Tracking (Paul Gebheim)Flexible Event Tracking (Paul Gebheim)
Flexible Event Tracking (Paul Gebheim)
 
Administration (Eliot Horowitz)
Administration (Eliot Horowitz)Administration (Eliot Horowitz)
Administration (Eliot Horowitz)
 
Ruby Development and MongoMapper (John Nunemaker)
Ruby Development and MongoMapper (John Nunemaker)Ruby Development and MongoMapper (John Nunemaker)
Ruby Development and MongoMapper (John Nunemaker)
 
MongoHQ (Jason McCay & Ben Wyrosdick)
MongoHQ (Jason McCay & Ben Wyrosdick)MongoHQ (Jason McCay & Ben Wyrosdick)
MongoHQ (Jason McCay & Ben Wyrosdick)
 
Administration
AdministrationAdministration
Administration
 
Sharding with MongoDB (Eliot Horowitz)
Sharding with MongoDB (Eliot Horowitz)Sharding with MongoDB (Eliot Horowitz)
Sharding with MongoDB (Eliot Horowitz)
 
Practical Ruby Projects (Alex Sharp)
Practical Ruby Projects (Alex Sharp)Practical Ruby Projects (Alex Sharp)
Practical Ruby Projects (Alex Sharp)
 
Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)
 
Debugging Ruby (Aman Gupta)
Debugging Ruby (Aman Gupta)Debugging Ruby (Aman Gupta)
Debugging Ruby (Aman Gupta)
 
Indexing and Query Optimizer (Aaron Staple)
Indexing and Query Optimizer (Aaron Staple)Indexing and Query Optimizer (Aaron Staple)
Indexing and Query Optimizer (Aaron Staple)
 
MongoDB Replication (Dwight Merriman)
MongoDB Replication (Dwight Merriman)MongoDB Replication (Dwight Merriman)
MongoDB Replication (Dwight Merriman)
 
Zero to Mongo in 60 Hours
Zero to Mongo in 60 HoursZero to Mongo in 60 Hours
Zero to Mongo in 60 Hours
 
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
Building a Mongo DSL in Scala at Hot Potato (Lincoln Hochberg)
 
PHP Development with MongoDB (Fitz Agard)
PHP Development with MongoDB (Fitz Agard)PHP Development with MongoDB (Fitz Agard)
PHP Development with MongoDB (Fitz Agard)
 
Java Development with MongoDB (James Williams)
Java Development with MongoDB (James Williams)Java Development with MongoDB (James Williams)
Java Development with MongoDB (James Williams)
 
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
Real time ecommerce analytics with MongoDB at Gilt Groupe (Michael Bryzek & M...
 
From MySQL to MongoDB at Wordnik (Tony Tam)
From MySQL to MongoDB at Wordnik (Tony Tam)From MySQL to MongoDB at Wordnik (Tony Tam)
From MySQL to MongoDB at Wordnik (Tony Tam)
 
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)
 

Webinar: Typische MongoDB Anwendungsfälle (Common MongoDB Use Cases) 

  • 3. NoSQL Eigenschaften Flexible Datentypen Hoher Große Datenmengen • Listen, eingebettete Datendurchsatz • Aggregierte Datengröße Objekte • Lesen • Anzahl an Datensätzen • Sparse Data • Schreiben • Semi-strukturierte Daten • Agile Development geringe Latenz Cloud Computing Commodity • Fürs lesen und schreiben • Läuft “überall” Hardware • ms Bereich • Keine spezielle Hardware • Ethernet • Lokaler Datenspeicher Marc Schwering, 10gen - @m4rcsch
  • 4. MongoDB Flexible Datentypen Hoher Große Datenmengen • Listen, eingebettete Datendurchsatz • Aggregierte Datengröße • JSON basiert Objekte • Lesen • an Datensätzen • AnzahlgridFS • SparseDynamische • Auto • schemas • Schreiben • Transparente • Semi-strukturierte Daten Fragmentierung Schemata Fragmentierung • Agile Development geringe Latenz Cloud Computing Commodity • Fürs lesen und schreiben • Läuft “überall” Hardware • In-memory • ms Bereich • Einfaches Setup • Keine spezielle Hardware • Ethernet cache • X86_64 Systeme • Breite • Lokaler Datenspeicher • Scale-out • Lokales fs Unterstützung working set Marc Schwering, 10gen - @m4rcsch
  • 6. High Volume Data Feeds Maschinendate • Sehr viele Sensoren “überall” n • Variable Struktur(en) Aktienhandel • Hochfrequenzhandel • Viele Datenquellen Social Media • Formatänderungen Marc Schwering, 10gen - @m4rcsch
  • 7. High Volume Data Feeds Flexibles Schema für Datenformat- anpassungen Asynchrones schreiben Data Data Sources Data WriteConcern: Sources Datenquel Sources SafeMode len (in Memory) Skalierung durch Fragmentierung Marc Schwering, 10gen - @m4rcsch
  • 8. Operational Intelligence • Extrem viele Statiwechsel (Tracking) Ad Targeting • Strikte Anforderungen an Latenz Real time • Reporting für tausende von Nutzern dashboards • Konsistente Echtzeit Updates! Social Media • Worüber sprechen die Leute? Monitoring Marc Schwering, 10gen - @m4rcsch
  • 9. Operational Intelligence Parallelisierung von Lese.- und Geringe Leselatenz Schreibzugriffen via Shards und Replikas API Pre-Aggregation & Aggregation Framework Dashboards Flexible Schemata für verschiedenste Transparente Inputformate Skalierung Marc Schwering, 10gen - @m4rcsch
  • 10. Beispiel Tracking & Conversion Umfangreiches Schema um komplexe Stati abzubilden 1 See Ad { cookie_id: ‚1234512413243‛, “Scale out” für hohen advertiser:{ Datendurchsatz apple: { See Ad actions: [ 2 { impression: ‘ad1’, time: 123 }, { impression: ‘ad2’, time: 232 }, { click: ‘ad2’, time: 235 }, { add_to_cart: ‘laptop’, sku: ‘asdf23f’, time: 254 }, 3 Click { purchase: ‘laptop’, time: 354 } Dynamische ] … Schemata durch Kundenanforderunge n 4 Convert Marc Schwering, 10gen - @m4rcsch
  • 11. Management von Metadaten Datenarchivie • Metadaten rung • Referenzspeicher Informationsa • Datamining nalyse • Retina Scans Biometrie • Fingerabdrücke Marc Schwering, 10gen - @m4rcsch
  • 12. Metadaten Beispiel Umfangreiche Abfrage und Indexierungs- möglichkeiten. db.archives. find({ ‚country”: ‚Egypt‛ }); Flexibles Daten- Modell { type: ‚Artefact‛, { ISBN: ‚00e8da9b‛, medium: ‚Ceramic‛, type: ‚Book‛, country: ‚Egypt‛, country: ‚Egypt‛, year: ‚3000 BC‛ title: ‚Ancient Egypt‛ } } Marc Schwering, 10gen - @m4rcsch
  • 13. Content Management • Nutzergenerierte Inhalte News-Seite • Personalisierung von Inhalt und Layout Verschiedene • Layout “on the fly” Kanäle • Kaum statischer Inhalt Sharing • Binär.- und Metadaten Marc Schwering, 10gen - @m4rcsch
  • 14. Content Management Flexibles Schema für GeoSpatial Index GridFS für Binärdaten einfache Erweiterungen { camera: ‚Nikon d4‛, location: [ -122.418333, 37.775 ] } { camera: ‚Canon 5d mkII‛, people: [ ‚Jim‛, ‚Carol‛ ], taken_on: ISODate("2012-03-07T18:32:35.002Z") } { origin: ‚facebook.com/photos/xwdf23fsdf‛, license: ‚Creative Commons CC0‛, size: { dimensions: [ 124, 52 ], Horizontale units: ‚pixels‛ } Skalierbarkeit für } große Datensätze Marc Schwering, 10gen - @m4rcsch
  • 15. Passt mein Use-Case zu MongoDB?
  • 16. Projekt Charakteristika Applikations-Anforderungen Warum MongoDB gut passen könnte Variable Daten in Objekten Dynamische Schemata und JSON erlauben flexible Datenspeicherung ohne Sparse-Tabellen oder komplexe “JOINS”. Geringe Latenz MongoDB Memory Mapping bietet ”In-Memory”- Geschwindigkeit und ist konsistent. Hoher Datendurchsatz Sharding und Replikation für einfache und/oder viele Daten Skalierbarkeit Cloud-basiertes deployment Sharding und Replikation nutzen alle Möglichkeiten von Cloud-Computing Wechselnde Flexibles Datenmodell ermöglicht agile Business Anforderungen Softwareentwicklung Marc Schwering, 10gen - @m4rcsch
  • 17. Vielen Dank! Fragen? Chat, oder: @m4rcsch Kommende Events: MongoDB Berlin: 26. Feb. ( http://welu.se/1Zl ) Webinar über MongoDB v 2.4 (Ende März) Marc Schwering, Solutions Architect -10gen (the MongoDB Company)