Redis可以完全取代mysql吗? [英] Can redis fully replace mysql?

查看:256
本文介绍了Redis可以完全取代mysql吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个简单的问题,我可以想象使用redis代替mysql用于各种Web应用程序:社交网络,地理位置服务等吗?

Simple question, could I conceivably use redis instead of mysql for all sorts of web applications: social networks, geo-location services etc?

推荐答案

在IT中没有什么是不可能的.但是有些事情可能变得非常复杂.

Nothing is impossible in IT. But some things might get extremely complicated.

将键值存储用于诸如全文搜索之类的工作可能会非常痛苦.

Using key-value storage for things like full-text search might be extremely painfull.

据我所知,它缺乏对大型集群数据库的支持:因此在MySQL上,如果数据库中的Gb增长超过100 Gb,则没有问题;在Redis上,...这将需要更多的努力:-)

Also, as far as I see, it lack support for large, clustered databases: so on MySQL you have no problems if you grow over 100s of Gb in Database, and on Redis... Well, it will require more effort :-)

因此将其用于开发目的,存储只需通过id检索的简单内容即可.

So use it for what it was developed for, storing simple things which just need to be retreived by id.

这篇关于Redis可以完全取代mysql吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆