Secondary Reads: The good and the bad
5 October 3:40 PM - 4:05 PM @ Matterhorn 3
25 minutes conference
Typically reading from secondaries can give you 100-200% improvement on your read queries, typically so we should have an honest talk about the good and the bad. The MongoDB manual will tell you to avoid reading from Secondaries. This is simply a topic they would rather not talk about as you need to consider their impacts, and they do not want to talk about where MongoDB can have issues. We instead will talk about these things, explain why you can expect some behavior and how to plan for it. Some of the areas will be: - Read Preferences - Impact of Stepdowns - Lagging secondaries and stale or missing data - Multiple DC configuration using tags - Issue only some reads on secondaries (eventual consistency) - Improving read throughput: sharding, reading from secondaries or both
Technical Owner of MongoDB, Allegro Group
Systems Engineer, during last year is a Technical Owner of MongoDB also responsible for Cassandra and MySQL in Allegro Group.