Redis
- redis is an open source key-value high-performance memory database, can use it as a data structure of the remote.
- Supported value type is very large, such as string, list (list), set (collection), hash tables, etc.
- redis very high performance, stand-alone can be achieved 15w qps, usually suitable for caching.
use
import(
“github.com/garyburd/redigo/redis”
)
connection
c, err := redis.Dial("tcp", "localhost:6379")