cn0047 / benchmark-postgres-mongo

Benchmarking read performance of PostgreSQL and MongoDB on same data sets.
https://medium.com/hackernoon/https-medium-com-cn007b-postgresql-vs-mongodb-6d8bdb7c1697
16 stars 4 forks source link

Thoughts on improving the benchmarking #1

Open xdg opened 6 years ago

xdg commented 6 years ago

Hi. I love that you put this together. Thank you!

I'm a team lead at MongoDB and my team works on our new Go driver (not mgo, which is a community-based project). Work like this repo is great to help us to see how the new driver stacks up.

I have a few thoughts on improving the benchmarks for you to consider:

cn0047 commented 6 years ago

Hey. Thank you for your feedback!!! Please let me know when new driver ready, I'll update benchmark.

Sharlaan commented 6 years ago

Totally agreed with above comments.

These benchs are based on 500/5k entries.

Maybe it would be interesting, for a particular query (averaged upon 20tries), to check both DB perfs at different load points. Maybe at some point, one DB may be more performant than the other ? this criteria would then become the one to consider for a choice.

By the way, it would also be nice to display the DB versions in bench headers.

Great initiative !