Mongodb or Memcached on busy site?
My system have开发者_运维百科 a huge connections and data read and write always. I installed Memcached (only one memcached)but failed because a large connections and I tried to install Mongodb (only one instance too) but still failed.
My data is not large (about > 10.000 records). Now I'm using MySQL but it's very slow.
I'm thinking about memcached replication and master/slave on mongodb! Which one should i choice?
Thank you very much!
(sorry for my bad English)
MySQL is not likely to be causing your site to run slowly, especially with the amount of data you mention. I would stick with MySQL and try to find what is causing your site to run slowly.
Try running EXPLAIN on your MySql queries to know what is going wrong...
精彩评论