O'Reilly logo

MongoDB Data Modeling by Wilson da Rocha França

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scaling a social inbox schema design

On October 31, 2014, MongoDB Inc. introduced on their community blog three different approaches to solve a very common problem, social inboxes.

From the three presented schema designs, it is possible to see the application of all the scaling concepts we have seen until now in an easy and efficient way. In all of the cases, the concept of a fan out applies, in which the workload is distributed among the shards in parallel. Each approach has its own application according to the needs of the database client.

The three schema designs are:

  • Fan out on read
  • Fan out on write
  • Fan out on write ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required