当前位置:网站首页>Redis6 一:Nosql引入、Redis可以解决什么问题?
Redis6 一:Nosql引入、Redis可以解决什么问题?
2022-06-28 10:58:00 【游戏编程】
Redis6
NoSQL数据库引入
1. 技术发展
技术的分类
1、解决功能性的问题:Java、Jsp、RDBMS、Tomcat、HTML、Linux、JDBC、SVN
2、解决扩展性的问题:Struts、Spring、SpringMVC、Hibernate、Mybatis
3、解决性能的问题:NoSQL、Java线程、Hadoop、Nginx、MQ、ElasticSearch
1.1 Web1.0时代
Web1.0的时代,数据访问量很有限,用一夫当关的高性能的单点服务器可以解决大部分问题。

1.2 Web2.0时代
随着Web2.0的时代的到来,用户访问量大幅度提升,同时产生了大量的用户数据。加上后来的智能移动设备的普及,所有的互联网平台都面临了巨大的性能挑战。

1.3 Redis解决CPU及内存压力

session问题:
使用多台服务器,会存在session的存储问题
session存在哪里?
- 方案1:存在cookie里 不安全、网络负担效率低
方案2:存在文件服务器或者数据库里 大量的IO效率低
方案3:session复制 session数据冗余,节点越多,浪费越大
方案4:Redis缓存数据库完全在内存中,速度快,数据结构简单
1.4 Redis解决IO压力

作者:程序员GQ
游戏编程,一个游戏开发收藏夹~
如果图片长时间未显示,请使用Chrome内核浏览器。
边栏推荐
- Graduation season, some suggestions for you who are new to the society
- Wireshark数据抓包分析之FTP协议
- File的io流与base64
- Dataease installation upgrade
- [cloud resident co creation] detailed introduction to DWS alarm service DMS and cluster connection mode
- [QT] connect syntax reference implementation
- Katalon当中的使用循环for、while和if...else、break、continue
- 还在用 SimpleDateFormat 做时间格式化?小心项目崩掉!
- 乌国家安全与国防委员会秘书:将对俄境内目标进行精确打击
- Katalon当中的output使用方法
猜你喜欢
数据库系列:有什么办法对数据库的业务表进行无缝升级
Wireless communication module fixed-point transmission - point to multipoint specific transmission application
Threads and thread pools
[practice] 1364- implement a perfect waterfall flow component on the mobile terminal (with source code)
[monkey] Introduction to monkey test
还在用 SimpleDateFormat 做时间格式化?小心项目崩掉!
mysql数据库概述以及安装过程
树莓派无需显示屏的VNC Viewer方式的远程连接
DlhSoft Kanban Library for WPF
移动命令
随机推荐
静态库的制作和使用
利用soapUI获取freemarker的ftl文件模板
选择哪种编程语言,会吸引优秀的人才?
Compareto() and equals() methods of BigDecimal class
JS基础5
JS foundation 2
Create ECS using API shortcut
Debug debugging in katalon
Ble Bluetooth module nrf518/nrf281/nrf528/nrf284 chip scheme comparison
将浏览器中的文件 url转换为File流
[function suggestion] select a space when multiple workspaces are started
MySQL (II)
毕业季 新的开始
Mongo数据库
Katalon当中的使用循环for、while和if...else、break、continue
ICMP协议的作用,Ping of Death攻击的原理是什么?
MySQL general binary installation method
How to use output in katalon
一种跳板机的实现思路
拼接String集合中的字符串_基于Stream