Over a million developers have joined DZone.

D4: Automated Distributed Document DB Designs for MongoDB

DZone's Guide to

D4: Automated Distributed Document DB Designs for MongoDB

· Java Zone
Free Resource

Bitbucket is for the code that takes us to Mars, decodes the human genome, or drives your next car. What will your code do? Get started with Bitbucket today, it's free.

MongoDB users may be interested in D4, an automated tool used to create distributed document database designs (hey, those words all start with the same letter) for applications running on MongoDB. D4 is the product of a collaboration between Brown University researchers and the MongoDB team, and the result looks interesting. According to the D4 team:

Using a sample workload trace from a either a document-oriented or relational database application, D4 will compute the best a database design that optimizes the throughput and latency of a document DBMS. The three design elements that D4 can select for an application are:

  • Sharding Keys
  • Indexes
  • Collection (De)normalization

You can find everything you need to get started with D4 on GitHub, with some supplemental information and examples here.

Are you using Bitbucket to accomplish your company's mission? Share your company’s mission with #Forthecode for a chance to be featured on our homepage, our social media channels, or win a free t-shirt!


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}