Presented by Daniel Coupal, Technical Services Engineer, MongoDB
Experience Level: Introductory
In his two years as a Technical Support Engineer, Daniel has worked with hundreds of MongoDB customers. Daniel will take you on a ride through some of his most memorable customer stories, told through the plots of your favorite Hollywood films. Get to hear about some of more unusual MongoDB use cases, the idiosyncratic choices behind them, and their path to success. You'll laugh, you'll cry, and you'll save yourself from making the common mistakes.
4. 4
Goal of the Presentation
• Remember 3 things from this presentation
• Make 1 change in your application or
deployment
• Good return on your hour spent in this
presentation
5. 5
#1 - “Toto, I've a feeling we're not in Kansas
anymore”
6. 6
#1 - “Toto, I've a feeling we're not in Kansas
anymore”
ü The Wizard of OZ (1939)
8. 8
#1 – The NoSQL World is different
Relational World NoSQL World
1 - Model the data 1 - Define the access to the data
2 - Write the queries to access the
data
2 - Model the data
11. 11
#2 – Have a Test Environment
• Best
– identical cluster
– restore production data in test/staging/QA
environment
• Acceptable
– less shards with identical hardware
• Less desirable
– smaller hardware
– non representative data
18. 18
#4 - “Round up the usual suspects”
ü Casablanca (1942)
19. 19
#4 – Settings in Production Notes
• Hardware
– Using NAS
– Using other FS than xfs on Linux for Wired Tiger
– Using other FS than ext4 or xfs on Linux for MMapV1
– Maxed out spinning disks
• OS Settings
– ulimits too low
– too high readahead for disks
– Transparent Huge Pages on
– NUMA on
20. 20
#4 – Settings in Production Notes
• Tools
– Production notes
– Mdiag (in Github)
23. 23
#5 –Appropriate Hardware for OpsManager
• Correctly sizing right at the beginning
– Consulting package
– Open a Commercial Support ticket
• Beware of changes in the initial estimates
27. 27
#6 - Cloud/Ops ManagerAgents always
initiate communications
Agent
Hi, I am part of the 007 group.
Server
Go collect information about the hosts
goldfinger, scaramanga and doctorno.
Agent
Here are their status and metrics for goldfinger
and scaramanga.
Agent
doctorno is now permanently unreachable.
28. 28
#7 – “You've got to ask yourself one question:
'Do I feel lucky?’“
29. 29
#7 – “You've got to ask yourself one question:
'Do I feel lucky?’“
ü Dirty Harry (1971)
30. 30
#7 - Knowledge is King
• Use the right resources
– MongoDB.com/presentations
– Conferences: MongoDB Days/MongoDB World
– Consulting packages
– Commercial Support
– Free Support (Google groups and Stack Overflow)
– Training classes
32. 32
Take Away
• Remember 3 things from this presentation
• Make 1 change in your application or
deployment
• Good return on your hour spent in this
presentation