Upload
mongodb
View
1.163
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Docker is an open-source engine that helps automate deployment of any process as a lightweight, portable, self-sufficient container that will run virtually anywhere. Docker containers are also immensely helpful when running thousands of MongoDB instances in a production environment. This talk will give you a quick overview of Docker, show you best practices and patterns for Dockerfiles aimed at running MongoDB within Docker with real life examples from MongoSoup. One part will focus on performance and how much overhead Docker produces in comparison to native MongoDB instances. I will also talk about which tools or frameworks in the Docker eco system have proven useful to orchestrate larger deployments with Replica Sets and Sharding (e.g. CoreOS, fleet, geard, vulcand, Kubernetes, etc.)
Citation preview
Lightning Talk: Running MongoDB on Docker for High Performance Deployments
Johannes BrandstetterChef de Cuisine at MongoSoup
@loomit
• MongoDB Hosting from Germany • Shared Hosting• Dedicated Servers• Customized Solutions
Announcing today:
All instances deployed with MongoDB Enterprise Edition
What is Docker?
What is Docker?
Why should I care?
It‘s the new hitsh*t and everyone‘s using it, or at least talking about it
But why would I use it for a Database?
You can put its config in gitIsolate all the things!It‘s freakin‘ fast
http://domino.research.ibm.com/library/cyberdig.nsf/papers/0929052195DD819C85257D2300681E7B/$File/rc25482.pdf
Top 5 tips for MongoDB on Docker
1.
Use a proper base image
2.
Activate ssh (seriously)
3.
Use a data only container for your dbPath
4.
Use a private Docker registry
5.
Use DNS when deploying Replica Sets
Visit our booth, we have a raffle!www.mongosoup.de
@mongosoup