
redis
cevent
web前端:HTML/JavaScript/css/zepto/angularJS/react/vue...
java开发:
SE/EE/spring/springMVC/Mybatis/Hibernate/Maven...
服务器端:
Linux/Hadoop...
平面设计:
PS/AI
音频处理:
Audition
视频特效:
After Effects
文案处理:
word/excel/ppt
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Reids分布式缓存应用-JAVA-eclipse客户端-JedisAPI使用-set+主从复制
1.所需jar Commons-pool-1.6.jar Jedis-2.1.0.jar 2.windows接通linux-redis:jedis 2.windows下eclipse配置 3.准备jar包 4.RedisPing.class package com.cevent.redis.test; import redis.clients.jedis.Jedis; /** * Redis连接 * @author ceven原创 2020-07-05 23:36:39 · 155 阅读 · 0 评论 -
redis分布式缓存应用:哨兵模式,反客为主的自动版
1.调整结构,6379带着80、81 原版sentinel.conf 1 # Example sentinel.conf 2 3 # port <sentinel-port> 4 # The port that this sentinel instance will run on 5 port 26379 6 7 # sentinel announce-ip <ip> 8原创 2020-07-05 23:28:59 · 251 阅读 · 0 评论 -
Redis分布式缓存应用:主从复制master-slave,yum.安装报错Loading mirror speeds from cached hostfile 错误:M传递S成为M递归,薪火相传
1.配置3台redis服务器 1.1配置C:\Windows\System32\drivers\etchosts文件,启用ip 1.2克隆主机-配置xsync 配置xsync [cevent@hadoop213 bin]$ ll 总用量 15464 -rwxr-xr-x. 1 cevent cevent 4589179 7月 1 17:56 redis-benchmark -rwxr-xr-x. 1 cevent cevent 22225 7月 1 17:56 redis-chec原创 2020-07-04 23:55:55 · 630 阅读 · 0 评论 -
redis分布式缓存:Redis持久化(RDB-redis data base 数据日志& AOF-append only file操作日志)模拟丢失,服务器关闭进行数据恢复rdb+aof,事务管理
1.RDB(Redis DataBase) 1.1Rdb 保存的是dump.rdb文件 [cevent@hadoop213 redis-3.0.4]$ vim redis.conf (1)120 ################################ SNAPSHOTTING ############################# ### (2)121 # (3)122 # Save the DB on disk: (4)123 #原创 2020-07-03 23:34:31 · 506 阅读 · 0 评论 -
redis分布式缓存应用—五大数据类型:key/String/Hash/List/Set/Zset,配置文件redis.conf解析
1.redis键key 1.key keys *:查看当前key列 exists key的名字,判断某个key是否存在 move key db --->当前库就没有了,被移除了 expire key 秒钟:为给定的key设置过期时间(到期/终止时间) ttl key 查看还有多少秒过期,-1表示永不过期,-2表示已过期 type key 查看你的key是什么类型 [cevent@hadoop213 ~]$ redis-cli -p 637原创 2020-07-03 23:20:21 · 489 阅读 · 0 评论 -
rendis分布式缓存应用-安装-性能测试,报错make[3]: Entering directory
1.centos安装 jar包准备 2.解压redis [cevent@hadoop213 redis-3.0.4]$ tar -zxvf redis-3.0.4.tar.gz -C /opt/module/ [cevent@hadoop213 soft]$ cd /opt/module/ [cevent@hadoop213 module]$ ll 总用量 12 drwxr-xr-x. 12 cevent cevent 4096 7月 1 13:43 ha原创 2020-07-03 23:00:40 · 1084 阅读 · 0 评论