Can redis fully replace mysql?

前端 未结 2 2188
梦如初夏
梦如初夏 2021-02-18 22:55

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

2条回答
  •  花落未央
    2021-02-18 23:40

    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.

    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 :-)

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

提交回复
热议问题