📜 ⬆️ ⬇️

MongoDB and MySQL in Ruby and PHP

image Some time ago I became quite interested in developing for MongoDB and held some benchmarks in comparison with MySQL.
Initially only in Ruby, but when the results were astonished (for the worse), then in PHP, for comparison.
Maybe it will save someone some time.

Initial data:The source code of the tests is here: http://github.com/latrommi/benchmarking

Actually, the results:
image
')
There is only one conclusion: it does not mean that MongoDB is worse than MySQL, it means that a normal, fast Ruby driver is not written for it :)

PS will be cool if someone conducts similar tests for Python.
PPS take this opportunity to say hello to TravisBickle ;)

Source: https://habr.com/ru/post/74683/


All Articles