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
87
Keep It Simple Security (Symfony Cafe 28-01-2016)
cystbear
0
140
Erlang (GeekTalks)
cystbear
0
82
Clojure basics
cystbear
0
90
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
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
180
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
1.7k
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
140
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
210
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
330
React本体のコードリーディング
high_g_engineer
1
130
FDEが実現するAI駆動経営の現在地
gonta
2
260
OpenSpecのproposalにbrainstormingを持たせてみた
tigertora7571
1
200
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
250
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
450
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
470
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Curse of the Amulet
leimatthew05
2
13k
Product Roadmaps are Hard
iamctodd
55
12k
How to Ace a Technical Interview
jacobian
281
24k
Facilitating Awesome Meetings
lara
57
7.1k
Become a Pro
speakerdeck
PRO
31
6.1k
Building AI with AI
inesmontani
PRO
1
1.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
400
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
Google's AI Overviews - The New Search
badams
0
1.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
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?