com presentations: Added sections and sharding slides.: mongo-tut-zendcon12.xml slides/mongodb/questions.xml slides/mongodb/section-indexes.xml
slides/mongodb/section-intro.xml slides/mongodb/section-practical-osm.xml slides/mongodb/section-replication.xml
slides/mongodb/section-schema-design.xml slides/mongodb/section-sharding.xml slides/mongodb/sharding-config.xml slides/mongodb/sharding-key.xml
slides/mongodb/sharding-mongos.xml slides/mongodb

From: Date: Sat, 20 Oct 2012 20:43:01 +0000
Subject: com presentations: Added sections and sharding slides.: mongo-tut-zendcon12.xml slides/mongodb/questions.xml slides/mongodb/section-indexes.xml
slides/mongodb/section-intro.xml slides/mongodb/section-practical-osm.xml slides/mongodb/section-replication.xml
slides/mongodb/section-schema-design.xml slides/mongodb/section-sharding.xml slides/mongodb/sharding-config.xml slides/mongodb/sharding-key.xml
slides/mongodb/sharding-mongos.xml slides/mongodb
Groups: php.pres 
Request: Send a blank email to pres+get-1858@lists.php.net to get a copy of this message
Commit: a0b77ed0b51d0aa4b143c99f9ce8cf8b7de44bfd Author: Derick Rethans <github@derickrethans.nl> Sat, 20 Oct 2012 21:42:27 +0100 Parents: c9c7428ef86b4a39b11827cac4c8cd61f7f97972 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=a0b77ed0b51d0aa4b143c99f9ce8cf8b7de44bfd Log: Added sections and sharding slides. Changed paths: M mongo-tut-zendcon12.xml A slides/mongodb/questions.xml A slides/mongodb/section-indexes.xml A slides/mongodb/section-intro.xml A slides/mongodb/section-practical-osm.xml A slides/mongodb/section-replication.xml A slides/mongodb/section-schema-design.xml A slides/mongodb/section-sharding.xml A slides/mongodb/sharding-config.xml A slides/mongodb/sharding-key.xml A slides/mongodb/sharding-mongos.xml A slides/mongodb/tutorial-topics.xml Diff: diff --git a/mongo-tut-zendcon12.xml b/mongo-tut-zendcon12.xml index eafdd47..6de1355 100644 --- a/mongo-tut-zendcon12.xml +++ b/mongo-tut-zendcon12.xml @@ -9,10 +9,12 @@ <email>derick@10gen..com</email> <twitter>derickr</twitter> <url>http://derickrethans.nl/talks.html</url> -<joindin></joindin> +<joindin>http://joind.in/6861</joindin> <slide>slides/mongodb/title.xml</slide> <slide>slides/mongodb/me.xml</slide> +<slide>slides/mongodb/tutorial-topics.xml</slide> +<slide>slides/mongodb/section-intro.xml</slide> <slide>slides/mongodb/databasefield.xml</slide> <slide>slides/mongodb/collections-documents.xml</slide> <slide>slides/mongodb/document.xml</slide> @@ -60,8 +62,12 @@ <slide>slides/mongodb/commands.xml</slide> <slide>slides/mongodb/commands-distinct.xml</slide> +<slide>slides/mongodb/commands-aggregation.xml</slide> +<slide>slides/mongodb/aggregation-example.xml</slide> +<slide>slides/mongodb/questions.xml</slide> <!-- SCHEMA DESIGN --> +<slide>slides/mongodb/section-schema-design.xml</slide> Common Patterns - RDBMS-normalisation. @@ -89,8 +95,10 @@ Common Patterns <slide>slides/mongodb/many-to-many3.xml</slide> <slide>slides/mongodb/embed-vs-link.xml</slide> +<slide>slides/mongodb/questions.xml</slide> <!-- INDEXES --> +<slide>slides/mongodb/section-indexes.xml</slide> <slide>slides/mongodb/idx-whats-in-store.xml</slide> <slide>slides/mongodb/idx-startup-quotes.xml</slide> <slide>slides/mongodb/idx-startup-quotes2.xml</slide> @@ -141,8 +149,10 @@ multikey 2d <slide>slides/mongodb/idx-recap3.xml</slide> +<slide>slides/mongodb/questions.xml</slide> <!-- INTRODUCING OSM DATA --> +<slide>slides/mongodb/section-practical-osm.xml</slide> <slide>slides/map/osm-what.xml</slide> <slide>slides/map/osm-data.xml</slide> @@ -162,9 +172,11 @@ multikey <slide>slides/mongodb/osm-schema1.xml</slide> <slide>slides/mongodb/osm-schema2.xml</slide> <slide>slides/mongodb/osm-schema3.xml</slide> +<slide>slides/mongodb/questions.xml</slide> <!-- REPLICATION --> +<slide>slides/mongodb/section-replication.xml</slide> <slide>slides/mongodb/repl-intro.xml</slide> <slide>slides/mongodb/repl-use-cases.xml</slide> <slide>slides/mongodb/repl-types-of-outage.xml</slide> @@ -205,15 +217,16 @@ multikey - journal - write concerns +<!-- SHARDING --> +<slide>slides/mongodb/section-sharding.xml</slide> <slide>slides/mongodb/sharding.xml</slide> +<slide>slides/mongodb/sharding-key.xml</slide> +<slide>slides/mongodb/sharding-mongos.xml</slide> +<slide>slides/mongodb/sharding-config.xml</slide> - mongos - diagram - transparent +<slide>slides/mongodb/questions.xml</slide> <slide>slides/mongodb/resources.xml</slide> - -<!-- PERFORMANCE THINGS --> -<slide>slides/mongodb/mmap.xml</slide> - - </presentation> diff --git a/slides/mongodb/questions.xml b/slides/mongodb/questions.xml new file mode 100644 index 0000000..db3b71f --- /dev/null +++ b/slides/mongodb/questions.xml @@ -0,0 +1,3 @@ +<slide type="section"> +<blurb>Any questions?</blurb> +</slide> diff --git a/slides/mongodb/section-indexes.xml b/slides/mongodb/section-indexes.xml new file mode 100644 index 0000000...70318b9 --- /dev/null +++ b/slides/mongodb/section-indexes.xml @@ -0,0 +1 @@ +<slide type="section"><blurb>Indexes</blurb></slide> diff --git a/slides/mongodb/section-intro.xml b/slides/mongodb/section-intro.xml new file mode 100644 index 0000000..0878856 --- /dev/null +++ b/slides/mongodb/section-intro.xml @@ -0,0 +1 @@ +<slide type="section"><blurb>Introduction</blurb></slide> diff --git a/slides/mongodb/section-practical-osm.xml b/slides/mongodb/section-practical-osm.xml new file mode 100644 index 0000000..c12e8da --- /dev/null +++ b/slides/mongodb/section-practical-osm.xml @@ -0,0 +1 @@ +<slide type="section"><blurb>Practical Example</blurb></slide> diff --git a/slides/mongodb/section-replication.xml b/slides/mongodb/section-replication.xml new file mode 100644 index 0000000..ce30953 --- /dev/null +++ b/slides/mongodb/section-replication.xml @@ -0,0 +1 @@ +<slide type="section"><blurb>Replication</blurb></slide> diff --git a/slides/mongodb/section-schema-design.xml b/slides/mongodb/section-schema-design.xml new file mode 100644 index 0000000..98ed2d2 --- /dev/null +++ b/slides/mongodb/section-schema-design.xml @@ -0,0 +1 @@ +<slide type="section"><blurb>Schema Design</blurb></slide> diff --git a/slides/mongodb/section-sharding.xml b/slides/mongodb/section-sharding.xml new file mode 100644 index 0000000..b5a2380 --- /dev/null +++ b/slides/mongodb/section-sharding.xml @@ -0,0 +1 @@ +<slide type="section"><blurb>Sharding</blurb></slide> diff --git a/slides/mongodb/sharding-config.xml b/slides/mongodb/sharding-config.xml new file mode 100644 index 0000000..48487e3 --- /dev/null +++ b/slides/mongodb/sharding-config.xml @@ -0,0 +1,10 @@ +<slide> +<title>Sharding: config server</title> + +<list> + <bullet>Three of them</bullet> + <bullet>Changes use two phase commit</bullet> + <bullet>If any are down, meta-data goes read-only</bullet> + <bullet>System is online, as long as one is up</bullet> +</list> +</slide> diff --git a/slides/mongodb/sharding-key.xml b/slides/mongodb/sharding-key.xml new file mode 100644 index 0000000..416690d --- /dev/null +++ b/slides/mongodb/sharding-key.xml @@ -0,0 +1,23 @@ +<slide> +<title>Sharding: How does it work?</title> + +<list> + <bullet>Sharding happens on a collection level</bullet> + <bullet>The sharding key determines how data is distributed</bullet> +</list> + +<example>db.runCommand( { + shardcollection: "demo.cities", + key: { name: 1 } +} );</example> +<break /> + +<list> + <bullet>Data is stored in chunks, each with a maximum size of 64MB</bullet> + <bullet>A chunk contains data in the form of a subsection of the shard key</bullet> + <bullet>*mongos* makes sure that chunks are distributed</bullet> + <bullet>Chunk meta-data is stored in the *config servers*</bullet> + <bullet>Each shard is a replica-set</bullet> +</list> + +</slide> diff --git a/slides/mongodb/sharding-mongos.xml b/slides/mongodb/sharding-mongos.xml new file mode 100644 index 0000000..7da5aa8 --- /dev/null +++ b/slides/mongodb/sharding-mongos.xml @@ -0,0 +1,16 @@ +<slide> +<title>Sharding: mongos</title> + +<list> + <bullet>Acts just like a %mongod% towards clients</bullet> + <bullet>You can have as many as you want</bullet> + <bullet>Lightweight, so can run on the web servers</bullet> + <bullet>Caches meta-data from config servers</bullet> + <bullet>Routes queries to the correct shards: + <list> + <bullet>Insertions directly to one shard</bullet> + <bullet>Queries to one, a few, or all shards</bullet> + </list> + </bullet> +</list> +</slide> diff --git a/slides/mongodb/tutorial-topics.xml b/slides/mongodb/tutorial-topics.xml new file mode 100644 index 0000000..fd2d319 --- /dev/null +++ b/slides/mongodb/tutorial-topics.xml @@ -0,0 +1,13 @@ +<slide> +<title>Today's Topics</title> + +<list> + <bullet>Introduction into MongoDB with PHP</bullet> + <bullet>Schema Design</bullet> + <bullet>Indexes</bullet> + <bullet>Practical Example of Schema Design and Indexes</bullet> + <bullet>Replication</bullet> + <bullet>Sharding</bullet> + <bullet>Questions and Answers</bullet> +</list> +</slide>

« previous php.pres (#1858) next »