Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MongoDB KNPLabs GeekTime
Search
Oleg Zinchenko
August 08, 2014
Programming
100
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MongoDB KNPLabs GeekTime
Oleg Zinchenko
August 08, 2014
Transcript
20 slides
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?
More Decks by Oleg Zinchenko
See All by Oleg Zinchenko
ORO Meetup #4
cystbear
0
93
Keep It Simple Security (Symfony Cafe 28-01-2016)
cystbear
0
140
Erlang (GeekTalks)
cystbear
0
94
Clojure basics
cystbear
0
96
Welcome to Erlang
cystbear
0
110
Erlang/N2O KNPMeetup
cystbear
0
180
Symfony Best Practices and beyond
cystbear
1
250
DDD on example of Symfony (SymfonyCamp UA 2014)
cystbear
3
940
DDD in PHP, on example of Symfony
cystbear
10
4.6k
Other Decks in Programming
See All in Programming
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
220
protojson における文字化けの扱い
kazuki1023
0
460
Debian JP Projectのサーバー構成
uwabami
1
160
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
960
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
320
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
210
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
240
将来の標準フォーマッター?ktfmtを深堀る
t45k
0
230
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
270
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
270
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
300
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
470
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
640
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Well, that’s weird…
csswizardry
1
180