当前位置:网站首页>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内核浏览器。
边栏推荐
- [function suggestion] select a space when multiple workspaces are started
- Mysql database overview and installation process
- Blackmail virus of industrial control security
- MySQL(一)
- Yann LeCun新论文:构建自动智能体之路
- MySQL (II)
- Summary of characteristics of five wireless transmission protocols of Internet of things
- Pop up and push in sequence of stack < difficulty coefficient >
- Debug debugging in katalon
- Markdown -- basic usage syntax
猜你喜欢

Markdown -- basic usage syntax

如何利用k线图做技术分析

Word、PDF、TXT文件实现全文内容检索需要用什么方法?

Information hidden in the trend chart of Hong Kong London gold market

mysql数据库概述以及安装过程

Docker modifies the user name and password of MySQL

一款自动生成单元测试的 IDEA 插件,开发效率提升 70% 以上!
![[monkey] Introduction to monkey test](/img/70/5a7152d0b6b77df7f9d6ad0e09e000.png)
[monkey] Introduction to monkey test

Katalon当中的output使用方法

【实战】1364- 实现一个完美的移动端瀑布流组件(附源码)
随机推荐
字符串 & 堆 & 方法区
Compression and decompression
Markdown -- basic usage syntax
选择哪种编程语言,会吸引优秀的人才?
Graduation season, some suggestions for you who are new to the society
【monkey】monkey测试入门
Dataease installation upgrade
毕业季 新的开始
Compareto() and equals() methods of BigDecimal class
[Agora] get an Agora_ Example usage of refptr object
AGCO AI frontier promotion (6.28)
【功能建议】多个工作空间启动时选择某个空间
Mysql database overview and installation process
Makefile简介
JS基础2
MySQL general binary installation method
JS foundation 2
Mongo database
利用soapUI获取freemarker的ftl文件模板
【剑指Offer】49. 丑数