Most people know that Redis is a software used on a cache server, similar to Memcache, can store a huge amount of data, used in large-volume Web sites, chat records storage, etc., but unlike memcache:
1, cache data can be persisted, there is no cache time limit
2. Support More data types: String, list, set, sorted set, hash (reference: http://www.cnblogs.com/xhan/archive/2011/02/02/1948891.html)
3, similar to Memcache, the data will be in memory, so faster, but Redis has a mechanism, smart, will periodically put the data (new, modified) to disk
4. Provide multiple data warehouses (0-15)
5, support in the server-side calculation of the collection and, intersection and complement set, but also support a variety of sorting functions. So Redis can also be viewed as a data structure server.
Redis also provides a graphical interface management tool Phpredisadmin, similar to the phpMyAdmin page management tool provided by MySQL, which is a tool based on PHP code. Phpredisadmin mainly provides maintenance of key values, additions and deletions, import and export of libraries, and view info information. (Memcache has a dedicated monitoring interface, which will be mentioned later in the blog)
- Redis 127.0.0.1:6379[15]> Info
Phpredisadmin:https://github.com/erikdubbelboer/phpredisadmin