Hacker News new | past | comments | ask | show | jobs | submit login

I'm actually not advocating for a database per customer. I was more wondering why you have so many collections -- surely they're not all representing different logical data. My guess is that you create some number of collections per customer?

With the new built-in sharding support, couldn't you have a 'customer_id' field and collapse many of those collections into larger collections, then shard by 'customer_id'? I'm just trying to understand tradeoff between these two types of schemas.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: