HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Storing dictionaries in mongo

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
dictionariesmongostoring

Problem

Is there any reliable and fast database architecture that allows to store a dictionary(containing up to hundred thousand words) using mongodb?

Solution

For optimal performance, MongoDB schema design must be custom-tailored for each application's unique access patterns. It's better to study general MongoDB design techniques than specific architectures (which may not match your specific application).

Having said that, Wordnik is a great case-study:

  • Similar application: real-time dictionary



  • 20 billion records stored in 3.5 terabytes of MongoDB



  • Many online presentations sharing their MongoDB knowledge/experiences



  • Inside Wordnik's Architecture gives a more "macro" view of Wordnik's


architecture.

  • Lots of other slides



Here is how Wordnik apparently modeled their words:

source: MongoDB Schema Design

Context

StackExchange Database Administrators Q#24388, answer score: 2

Revisions (0)

No revisions yet.