Slide 5
Slide 5 text
Case study #1: eBay Search Suggestions
§ Search suggestion list is a MongoDB document
indexed by word prefix as well as by some
metadata: product category, search domain,
etc.
§ Must have < 60-70msec round trip end to end
§ MongoDB query < 1.4msec
§ Data set fits in RAM; 100-s M documents
§ Data is bulk loaded once a day from Hadoop,
but can be tweaked on demand during sale
promotions, etc
§ Single replica set, no shards in this case
§ MongoDB benefits:
• Multiple indexes allow flexible lookups
• In-memory data placement ensures lookup speed
• Large data set is durable and replicated