开发者

what so special about redis? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and 开发者_JAVA百科citations by editing this post.

Closed 4 years ago.

Improve this question

I mean: link text

why should one use this over MySQL or something similar?


SPEED

Redis is pretty fast!, 110000 SETs/second, 81000 GETs/second in an entry level Linux box. Check the benchmarks.

Most important is speed. No way you can get these numbers using SQL.

COMMANDS

It is possible to think at Redis as a data structures server, it is not just another key-value DB, see all the commands supported by Redis to get the first feeling

Sometimes people call Redis Memcached on steroids


Like many NoSQL databases, one would use Redis if it fits your needs. It does not directly compete with RDBMS solutions like MySQL, PostgreSQL, etc. One may need to use multiple NoSQL solutions in order to replace the functionality of a RDBMS. I personally do not consider Redis to be a primary data store - only something to be used for speciality cases like caching, queuing, etc. Document databases like MongoDB or CouchDB may work as a primary data store and be able to replace RDBMSs, but there are certainly projects where a RDBMS would work better than a document database.


This Wikipedia article on NoSQL will explain.

These data stores may not require fixed table schemas, and usually avoid join operations and typically scale horizontally.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜