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
95
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
130
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
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.5k
The NotImplementedError Problem in Ruby
koic
1
990
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
610
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
280
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
250
Oxlintのカスタムルールの現況
syumai
6
1.2k
Inside Stream API
skrb
1
810
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
180
JavaDoc 再入門
nagise
1
430
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
120
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
260
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
900
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Google's AI Overviews - The New Search
badams
0
1.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Visualization
eitanlees
152
17k
Designing for humans not robots
tammielis
254
26k
Embracing the Ebb and Flow
colly
88
5.1k
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?