MongoDB-casestudy
NoSQL-concepten
Miriam Antona
Software engineer
MongoDB - overzicht
Populaire documentendatabase
BSON (Binary JSON)-formaat
MongoDB - functies
MongoDB Query Language (
MQL
)
db.users.find({ "address.zipcode" : "10245" })
Native drivers voor
programmeertalen
: C#, Java, Python, Scala, etc.
Indexen
op elk veld
ACID
-transacties (Atomicity, Consistency, Isolation, Durability)
Joins
in queries
MongoDB - functies
Horizontaal schalen
native sharding
shards toevoegen/verplaatsen
Replicatie
50 kopieën van onze data
MongoDB - producten
MongoDB Compass:
Gratis GUI
Verken schema, maak visuele queries...
MongoDB Atlas:
Cloudservice
AWS, Azure, Google Cloud
MongoDB Enterprise Advanced:
Draai MongoDB op je eigen infrastructuur
MongoDB - producten
MongoDB Atlas Lake:
Query en analyseer data
AWS S3 en MongoDB Atlas
MQL
MongoDB Charts:
Visualisaties van data
Realm Mobile Database:
Sla data lokaal op iOS of Android op
MongoDB - populaire toepassingen
Single view-apps:
financiële diensten, overheid, hightech, retail...
Gaming:
spelersprofielen, ranglijsten...
Catalogi:
financiële diensten, overheid, hightech, retail...
Realtime analytics
Contentbeheer
Internet of Things
MongoDB - klanten
Shutterfly-casestudy - overzicht
Online fotoservice
Deel gepersonaliseerde foto-albums
Producten met afdrukken
Miljoenen klanten
Meer dan zes miljard afbeeldingen
Shutterfly-casestudy - probleem en oplossing
Explosieve datagroei
Prestatiegrenzen van Oracle
Lange ontwikkeltijd
Apps waren niet snel genoeg
Oracle werd te duur
Koos voor MongoDB
Shutterfly-casestudy - resultaten
Prestatieverbetering
Inserts 400 ms -> 2 ms
Horizontaal schalen
Flexibel schema -> snelle ontwikkeling
Tags, reacties, enz. zijn makkelijk te bouwen
Nieuwe querypatronen
Kostenreductie
Shutterfly-casestudy - resultaten
Prestatieverbetering
Inserts 400 ms -> 2 ms
Horizontaal schalen
Flexibel schema -> snelle ontwikkeling
Tags, reacties, enz. zijn makkelijk te bouwen
Nieuwe querypatronen
Kostenreductie
1
https://www.mongodb.com/who-uses-mongodb
Laten we oefenen!
NoSQL-concepten
Preparing Video For Download...