redis下载地址以及win版本使用
cookqq ›博客列表 ›redis

redis下载地址以及win版本使用

2017-06-24 17:23:05.0|分类: redis|浏览量: 1821

摘要: redis内存数据库,提供数据类型strings, hashes, lists, sets, sorted sets.redis启动默认加载的端口号是6379,jedis是java访问redis数据库的驱动

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. 


redis官网地址:https://redis.io/

redis下载地址:https://redis.io/download

redis的win版本下载地址:https://github.com/MSOpenTech/redis


redis下载win版本压缩文件夹,然后直接解压,发现有几个文件:

  • redis-server.exe (redis服务启动脚本)

  • redis-benchmark.exe

  • redis-cli.exe  (redis客户端启动脚本)

  • redis-check-dump.exe

  • redis-check-aof.exe


redis启动默认加载的端口号是6379。


RedisDesktopManager是redis可视化工具,查看reids内容比较方便。


jedis是java访问redis数据库的驱动,maven引入配置如下:

 <dependency>

   <groupId>redis.clients</groupId>

   <artifactId>jedis</artifactId>

   <version>2.9.0</version>

   <type>jar</type>

   <scope>compile</scope>

 </dependency>

假如用户保存数据foo=bar,key是foo,value=bar。java的API代码如下:

Jedis jedis = new Jedis("localhost");

jedis.set("foo", "bar");

String value = jedis.get("foo");



一键分享文章

分类列表

  • • struts源码分析
  • • flink
  • • struts
  • • redis
  • • kafka
  • • ubuntu
  • • zookeeper
  • • hadoop
  • • activiti
  • • linux
  • • 成长
  • • NIO
  • • 关键词提取
  • • mysql
  • • android studio
  • • zabbix
  • • 云计算
  • • mahout
  • • jmeter
  • • hive
  • • ActiveMQ
  • • lucene
  • • MongoDB
  • • netty
  • • flume
  • • 我遇到的问题
  • • GRUB
  • • nginx
  • • 大家好的文章
  • • android
  • • tomcat
  • • Python
  • • luke
  • • android源码编译
  • • 安全
  • • MPAndroidChart
  • • swing
  • • POI
  • • powerdesigner
  • • jquery
  • • html
  • • java
  • • eclipse
  • • shell
  • • jvm
  • • highcharts
  • • 设计模式
  • • 列式数据库
  • • spring cloud
  • • docker+node.js+zookeeper构建微服务
版权所有 cookqq 感谢访问 支持开源 京ICP备15030920号
CopyRight 2015-2018 cookqq.com All Right Reserved.