Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MongoDB KNPLabs GeekTime
Search
Oleg Zinchenko
August 08, 2014
Programming
98
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MongoDB KNPLabs GeekTime
Oleg Zinchenko
August 08, 2014
More Decks by Oleg Zinchenko
See All by Oleg Zinchenko
ORO Meetup #4
cystbear
0
87
Keep It Simple Security (Symfony Cafe 28-01-2016)
cystbear
0
140
Erlang (GeekTalks)
cystbear
0
82
Clojure basics
cystbear
0
91
Welcome to Erlang
cystbear
0
110
Erlang/N2O KNPMeetup
cystbear
0
170
Symfony Best Practices and beyond
cystbear
1
250
DDD on example of Symfony (SymfonyCamp UA 2014)
cystbear
3
930
DDD in PHP, on example of Symfony
cystbear
10
4.6k
Other Decks in Programming
See All in Programming
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
Deep dive into the select statement (GopherCon UK)
jespino
0
170
What We Talk About When We Talk About XP
m_seki
2
390
アクセシビリティから考える情報設計
high_g_engineer
0
310
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
0
250
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
Building an Out-of-Order CPU
latte72
1
720
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
170
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
110
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
140
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
680
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
580
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.7k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Statistics for Hackers
jakevdp
799
230k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
340
Practical Orchestrator
shlominoach
191
12k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Paper Plane (Part 1)
katiecoart
PRO
1
11k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The Language of Interfaces
destraynor
162
27k
Transcript
None
from "hu_mongo_us"
Who is behind MongoDB company formerly 10gen company http://www.mongodb.org/
Who to follow MongoDB @MongoDB Eliot @eliothorowitz Jeremy Mikola @jmikola
@MongoHQ @MongoLab @ObjectRocket
None
DATABASE LANDSCAPE
JSON/BSON
JS console ➜ bin ./mongo MongoDB shell version: 2.6.3 connecting
to: test > var a = 10 > var b = 20 > a + b 30 >
Entities Relational DB MongoDB database database table collection row document
index index primary key _id Sharding partition shard partition key shard key
Special _id type 5033ea5c e84df1 110f 000001 Timestamp Hostname PID
Sequence 12-byte, binary string Easily generated in cluster environments Timestamp prefix useful for sorting
Document Example { "_id": 1, "title": "Praesent ante dui", "body":
"Lorem ipsum…", "author": { "name": "Bob", "email": "
[email protected]
" }, "comments": [ { "body": "Morbi libero erat…", "author": { "name": "John", "email": "
[email protected]
" } }, { "body": "Dapibus quis…", "author": { "name": "Tom", "email": "
[email protected]
" } } ], "tags": [ "luctus", "rhoncus" ] }
None
Document model Flexible schemas Scalability and performance Features (aggregation, geo,
GridFS) MONGODB: THE GOOD PARTS
Limited atomicity Consistency is a trade-off Query language limitations Concurrency
(improving) MONGODB: THE BAD PARTS
mongod mongo Binaries mongos mongodump mongorestore mongoexport mongoimport
DEMO TIME
Replication
Sharding
Aggregation Framework
Questions?