![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
NOSQL
文章平均质量分 55
码猿上高速
是用一年经验工作时间,还是一年顶上别人三年,全看你如何度过每一天。
展开
-
NOSQL 概述(尚硅谷 Redis 教学视频笔记整理)
一、单机 MySQL 瓶颈 1、数据量的总大小,一个机器1放不下时。 2、数据的索引(B + Tree) 一个机器的内存放不下时。 3、访问量(读写混合)一个实例不能承受。 二、缓存 + MySQL + 垂直拆分三、MySQL 主从读写分离 主库写,从库读,以提高读写性能和读库的可扩展性。Mysql 的 master-slave 模式。四、分表分库 + 水平拆分 + mysql 集群 在 Memc...原创 2018-03-04 20:52:07 · 3198 阅读 · 3 评论 -
Redis 连接池配置(在 Spring Boot 框架中)
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; imp...原创 2018-03-05 15:45:20 · 1452 阅读 · 0 评论