Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes,lists, sets and sorted sets.
Redis是一个开源的,高效的键值存储系统,通常被称为数据结构服务器,因为键值可以包括字符串,哈希,列表,集合,及有序集合。
You can run atomic operations on these types, like appending to a string; incrementing the value in a hash; pushing to a list; computing set intersection, union and difference; or getting the member with highest ranking in a sorted set.
你可以进行原子操作在这些类型上,
In order to achieve its outstanding performance, Redis works with an in-memory dataset. Depending on your use case, you can persist it either by dumping the dataset to disk every once in a while, or by appending each command to a log.
为了达到高效,Redis使用了内存数据集,根据你的需要,你也可以持久到硬盘上
Redis also supports trivial-to-setup master-slave replication, with very fast non-blocking first synchronization, auto-reconnection on net split and so forth.
Other features include a simple check-and-set mechanism, pub/sub and configuration settings to make Redis behave like a cache.
You can use Redis from most programming languages out there.
Redis is written in ANSI C and works in most POSIX systems like Linux, *BSD, OS X and Solaris without external dependencies. There is no official support for Windows builds, although you may have some options.