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
96
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
86
Keep It Simple Security (Symfony Cafe 28-01-2016)
cystbear
0
140
Erlang (GeekTalks)
cystbear
0
82
Clojure basics
cystbear
0
89
Welcome to Erlang
cystbear
0
100
Erlang/N2O KNPMeetup
cystbear
0
170
Symfony Best Practices and beyond
cystbear
1
240
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言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
140
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
380
Embedded SREと共に達成した会員管理システムのAWS移行 - SRE NEXT 2026 ランチスポンサーセッション
niftycorp
PRO
1
3.1k
5分で問診!Composer セキュリティ健康診断
codmoninc
0
630
分散システム、なんですぐ死んでしまうん?耐障害性を高めたいあなたのためのレジリエンスパターン入門
mshibuya
7
6.9k
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
370
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
110
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
480
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
200
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
120
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
180
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
190
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
Building Applications with DynamoDB
mza
96
7.1k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
How GitHub (no longer) Works
holman
316
150k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
430
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
230
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Scaling GitHub
holman
464
140k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4k
Ethics towards AI in product and experience design
skipperchong
2
330
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?