com presentations: Content revisions for replica set slides: mongo-tut-tek15.xml slides/mongodb/repl-eventual-consistency.xml slides/mongodb/repl-features.xml slides/mongodb/repl-oplog.xml slides/mongodb/repl-use-cases.xml slides/mongodb/repl-works-basic.xml slides/mongodb/replication-setup.xml
[email protected] (Derick Rethans)
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: 72e8a275cbdf85f21c421abde903b2dcbb47fe68 Author: Jeremy Mikola <[email protected]> Sun, 17 May 2015 16:29:46 -0500 Parents: d753e744f62107b0668a94484d62c9d1ee2c8fe9 Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=72e8a275cbdf85f21c421abde903b2dcbb47fe68 Log: Content revisions for replica set slides Changed paths: M mongo-tut-tek15.xml M slides/mongodb/repl-eventual-consistency.xml M slides/mongodb/repl-features.xml M slides/mongodb/repl-oplog.xml M slides/mongodb/repl-use-cases.xml M slides/mongodb/repl-works-basic.xml M slides/mongodb/replication-setup.xml Diff: diff --git a/mongo-tut-tek15.xml b/mongo-tut-tek15.xml index 45de045..a7dbe72 100644 --- a/mongo-tut-tek15.xml +++ b/mongo-tut-tek15.xml @@ -178,7 +178,7 @@ Common Patterns <slide>slides/mongodb/repl-oplog.xml</slide> <slide>slides/mongodb/replication-setup.xml</slide> - +<slide>slides/mongodb/php-connection-string.xml</slide> <slide>slides/mongodb/repl-eventual-consistency.xml</slide> <!-- SHARDING --> diff --git a/slides/mongodb/repl-eventual-consistency.xml b/slides/mongodb/repl-eventual-consistency.xml index 0106ca4..f0e0621 100644 --- a/slides/mongodb/repl-eventual-consistency.xml +++ b/slides/mongodb/repl-eventual-consistency.xml @@ -4,15 +4,16 @@ <list> <bullet>Read Preference / Slave Okay <list> - <bullet>driver will always send writes to Primary</bullet> - <bullet>driver will send read requests to Secondaries</bullet> + <bullet>Driver will always send writes to primary</bullet> + <bullet>Driver will send read requests to secondaries</bullet> + <bullet>Options to prefer primary, secondary, or nearest</bullet> </list> </bullet> <bullet>Warning! <list> <bullet>Secondaries may be out of date</bullet> - <bullet>Not applicable for all applications</bullet> + <bullet>Not appropriate for all applications</bullet> </list> </bullet> </list> diff --git a/slides/mongodb/repl-features.xml b/slides/mongodb/repl-features.xml index bf33841..834c67d 100644 --- a/slides/mongodb/repl-features.xml +++ b/slides/mongodb/repl-features.xml @@ -7,7 +7,6 @@ <bullet>Reads can be from primary (default) or a secondary</bullet> <bullet>Any (one) node can be primary</bullet> <bullet>Consensus election of primary</bullet> - <bullet>Automatic failover</bullet> - <bullet>Automatic recovery</bullet> + <bullet>Automatic failover and recovery</bullet> </list> </slide> diff --git a/slides/mongodb/repl-oplog.xml b/slides/mongodb/repl-oplog.xml index 8b7a7cf..95cbd0c 100644 --- a/slides/mongodb/repl-oplog.xml +++ b/slides/mongodb/repl-oplog.xml @@ -4,10 +4,10 @@ <list> <bullet>Change operations are written to the oplog <list> + <bullet>A single update/delete affecting multiple documents can result in many oplog entries</bullet> <bullet>The oplog is a capped collection (fixed size) <list> - <bullet>Must have enough space to allow new secondaries to catch up after copying from a primary</bullet> - <bullet>Must have enough space to cope with any applicable slaveDelay</bullet> + <bullet>Must have enough space to allow new secondaries to catch up after syncing from a primary, and cope with any applicable slaveDelay</bullet> </list></bullet> </list></bullet> <bullet>Secondaries query the primary's oplog and apply what they find</bullet> diff --git a/slides/mongodb/repl-use-cases.xml b/slides/mongodb/repl-use-cases.xml index f962f5a..d0264d6 100644 --- a/slides/mongodb/repl-use-cases.xml +++ b/slides/mongodb/repl-use-cases.xml @@ -4,7 +4,6 @@ <list> <bullet>High Availability (auto-failover)</bullet> - <bullet>Read Scaling (extra copies to read from)</bullet> <bullet>Backups <list> <bullet>Online, Delayed Copy (fat finger)</bullet> diff --git a/slides/mongodb/repl-works-basic.xml b/slides/mongodb/repl-works-basic.xml index c9edded..5e826df 100644 --- a/slides/mongodb/repl-works-basic.xml +++ b/slides/mongodb/repl-works-basic.xml @@ -5,7 +5,6 @@ <image filename="repl-set1.png"/> <list> - <bullet>Set is made up of 2 or more nodes</bullet> - <bullet>It makes most sense to have an *odd* number of nodes</bullet> + <bullet>A set should have 3 or more nodes, and always an *odd* number of voters (for calculating majority)</bullet> </list> </slide> diff --git a/slides/mongodb/replication-setup.xml b/slides/mongodb/replication-setup.xml index dbbedc5..353184c 100644 --- a/slides/mongodb/replication-setup.xml +++ b/slides/mongodb/replication-setup.xml @@ -15,7 +15,6 @@ mongod -f /etc/mongodb.conf --dbpath=~/repl-arb --port 13002 --replSet seta --re logpath=/var/log/mongodb/mongodb.log logappend=true smallfiles=true -replSet=seta </example> </div> <div effect="fade-in">