Sharded Deployments with MongoDB and Brooklyn, a Framework for Scaling

64

The nature of distributed architecture requires the user to think through how apps and services may run across multiple cloud services and data centers. Apps are one thing, but running a database in these types of environments carries a different level of complexity.

In this example, we are going to create a more complicated service involving MongoDB and sharding. We will then show you how you can use effectors to scale this service out or in.

Brooklyn Service Broker Creating a 3 node, 5 shard MongoDB instance

MongoDB offers some pretty advanced options for scaling, both horizontally and vertically. So, we’re going to look at how to create a sharded deployment (like that described in the figure above) with the Brooklyn plugin.

Read more at The New Stack