News for hackers. Stuff that matters.
Re:Ask HN: Should I not use MongoDB? by mattbillenstein on Wednesday September 06, 2017 @08:48PM (#15188352)
HN skews very anti-mongo, but it can be a good fit for certain apps -- I would stick with what you know until you think you've outgrown what you can do without sharding. I'd probably never shard mongo, but if you can vertically scale it for awhile, I'd do that.

If you're on ec2, the i3 instances have very fast nvme instance storage at a reasonable (cloud) price.

Re:Ask HN: Should I not use MongoDB? by gerenuk on Thursday September 07, 2017 @08:40AM (#15191276)
What would you suggest instead of mongodb for large scale production db? Our DB size is growing on daily basis and currently near to 200GB on a dedicated machine.
Re:Ask HN: Should I not use MongoDB? by mattbillenstein on Saturday September 09, 2017 @01:29AM (#15205697)
It depends -- if it's analytics, I'd look to ship it to a hosted system (I like BigQuery). If it's not, you might be able to scale up to terabyte or two before sharding; then maybe cassandra or one of the sharded postgres things (Citus, postgres-xl?)? I haven't had that problem in awhile.
Re:Ask HN: Should I not use MongoDB? by richardknop on Monday September 11, 2017 @09:27AM (#15218317)
Depends on data. If it's time series data then I would use time series database like InfluxDB. But again you might be fine even with Postgres or Mongo. Depends on structure and type of data.
Re:Ask HN: Should I not use MongoDB? by brianwawok on Friday September 08, 2017 @07:24AM (#15199402)
Postgres or cassandra depending on scale and use case.
Re:Ask HN: Should I not use MongoDB? by rubyfan on Wednesday September 06, 2017 @09:38PM (#15188544)
I agree with the sentiment. Don’t refactor unless it’s failing you. Just be mindful you might refactor someday and backup your data.
Re:Ask HN: Should I not use MongoDB? by nikkwong on Wednesday September 06, 2017 @11:01PM (#15188868)
Sounds good to me. I looked into sharding in the past but never took the leap as it added tons of complexity. Thanks so much!