MongoDB vs MySQL

后端 未结 3 843
清酒与你
清酒与你 2020-12-12 10:05

I used to build Ruby on Rails apps with MySQL.

MongoDB currently become more and more famous and I am now starting to give it a try.

The problem is, I don\'t

3条回答
  •  孤城傲影
    2020-12-12 10:44

    I don't know much of the underlying theory. But this is the advice I got: only use MongoDB if you run it across multiple servers; that's when it'll shine. As far as I understand, the NoSQL movement appeared in no small part due to the pain of load-balancing relational databases across multiple servers. So if you're hosting your application on no more than one server, MySQL would be the preferred choice.

    The good people over at the Doctrine project recently wrote a quite useful blog post on the subject.

提交回复
热议问题