This is my deck from Cloud Conference Torino 2013 (http://www.cloudconf.it). I was the post-lunch speaker, so this one is more silly and there was a lot of off-deck riffing, so this is here only for posterity.
I initially planned to speak on cloud-specific stuff, this turned into an intro to MongoDB though.
12. What is the cloud?
• Where all the cool kids live?
13. What is the cloud?
• Where all the cool kids live?
• Where all your budgets go to die?
14. What is the cloud?
• Where all the cool kids live?
• Where all your budgets go to die?
• Where all the big projects have to go?
15. What is the cloud?
• Where all the cool kids live?
• Where all your budgets go to die?
• Where all the big projects have to go?
• All your base belong to us?
16. What is the cloud?
• Where all the cool kids live?
• Where all your budgets go to die?
• Where all the big projects have to go?
• All your base belong to us?
• The biggest marketing sham to hit IT?
25. Why does this have to
be so complicated?
• Cloud services are still relatively new, so
management tools can be lacking
26. Why does this have to
be so complicated?
• Cloud services are still relatively new, so
management tools can be lacking
• Taking technology that was not meant for
cloud deployment, and, well, deploying it in
the cloud
29. Cloud apps are easy,
what about data?
• MySQL is hard enough as it is.
30. Cloud apps are easy,
what about data?
• MySQL is hard enough as it is.
• Oracle is even harder.
31. Cloud apps are easy,
what about data?
• MySQL is hard enough as it is.
• Oracle is even harder.
• Even though PostgreSQL seems to be the
best of the bunch, nobody but me is using it
32. Cloud apps are easy,
what about data?
• MySQL is hard enough as it is.
• Oracle is even harder.
• Even though PostgreSQL seems to be the
best of the bunch, nobody but me is using it
• We need something better...
47. Relationship issues
• Easy to scale reads, difficult to scale writes
• Requires custom hardware
• Expensive to host at scale
48. Relationship issues
• Easy to scale reads, difficult to scale writes
• Requires custom hardware
• Expensive to host at scale
• Usually requires significant customization
to apps
53. That went well.
• Sharding sounds great on paper
• In practice it is EXTREMELY HARD
54. That went well.
• Sharding sounds great on paper
• In practice it is EXTREMELY HARD
• Adds significant complexity to your app
logic, operational needs
64. MongoDB: Sharding
• Has supported sharding since early
production release
• Only significant change to app logic is some
queries needing map reduce
65. MongoDB: Sharding
• Has supported sharding since early
production release
• Only significant change to app logic is some
queries needing map reduce
• Only significant change to operations is
more hardware
67. MongoDB: Sharding 2
• Can shard on internal ID, or you can define
with your own shard keys
68. MongoDB: Sharding 2
• Can shard on internal ID, or you can define
with your own shard keys
• You can tag to control what data goes into
what shard
69. MongoDB: Sharding 2
• Can shard on internal ID, or you can define
with your own shard keys
• You can tag to control what data goes into
what shard
• Many simple queries can still work across
sharded data
91. Getting cloudy.
US EAST EU (IR) AP TOKYO
primary primary primary
secondary secondary secondary
secondary secondary secondary
secondary secondary secondary
arbiter arbiter arbiter
92. This is your
app in the This is you.
cloud.
Ok so what’s the
difference?
94. Cloud benefits
• Growth is a lot easier - adding instances is
a lot simpler/faster than adding servers
95. Cloud benefits
• Growth is a lot easier - adding instances is
a lot simpler/faster than adding servers
• Geographic zones can be combined with
tags for logical data segregation and storage
96. Cloud benefits
• Growth is a lot easier - adding instances is
a lot simpler/faster than adding servers
• Geographic zones can be combined with
tags for logical data segregation and storage
• Automation of adding/removing instances,
no humans required
97. These guys will do it
for you.
• MongoHQ
• MongoLab
• Mongo Machine