164 reputation
3
bio website agaffeaday.tumblr.com
location San Mateo, CA
age 34
visits member for 3 years, 6 months
seen Mar 6 at 21:29

Software Engineer, DB & Node.JS enthusiast


Sep
6
comment Is sharding effective for small collections?
Honestly, I find that you can often "cheat" on the indexes too. If you have two collections foo and bar with the same data structure, you can merge them into the baz collection and override the _ids (in code): { _id: "foo123" }, { _id: "bar123" }. You have a larger index, but you have only one index that includes the type. Not a requirement, just "food for thought".
Sep
6
comment Is sharding effective for small collections?
FYI default chunk size is 64MB as of 1.8.