![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
大唐雨夜
这个作者很懒,什么都没留下…
展开
-
【Redis】a bean of type ‘org.springframework.data.redis.core.RedisTemplate‘ that could not be found
a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found原创 2021-03-29 23:40:00 · 11577 阅读 · 2 评论 -
简要介绍Redis线程模型
Redis基于Reactor模式开发了自己的网络事件处理器:这个处理器被称为文件事件处理器。它的组成结构为4部分:多个套接字、IO多路复用程序、文件事件分派器、事件处理器。因为文件事件分派器队列的消费是单线程的,所以Redis才叫单线程模型。原创 2021-03-25 22:44:35 · 175 阅读 · 2 评论 -
安装Redis,并配置开机启动
解压缩,编译(/home/software/)tar -zxvf redis-5.0.5.tar.gzln -s redis-5.0.5 redisyum install gcc-c++cd redismake && make install此时,便可以通过redis-server启动Redis服务了。核心文件配置(/usr/local/redis/)cd /home/software/redismkdir working# 从编译目录拷贝配置文件cp redi原创 2021-01-14 23:26:03 · 153 阅读 · 0 评论 -
解决Jedis连接虚拟机中Redis失败的问题
报错日志报错日志如下:原因清晰可见,无法连接到虚拟机的redis服务。There was an unexpected error (type=Internal Server Error, status=500).Could not get a resource from the poolredis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.cl原创 2020-05-28 00:27:41 · 1363 阅读 · 0 评论