E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
redis性能优化
Webpack(十二):tree shaking打包
性能优化
1.什么是tree-shaking?在webpack中,tree-shaking的作用是可以剔除js中用不上的代码,但是它依赖的是静态的ES6的模块语法。也就是说没有被引用到的模块它是不会被打包进来的,可以减少我们的包的大小,减少文件的加载时间,提高用户体验。webpack2版本中就开始引入了treeshaking的概念,它可以在打包时可以忽略哪些没有被使用到的代码。注意:要让TreeShakin
CodeMT
·
2024-02-11 13:29
WebSocketServer+
redis
实时更新页面数据
redis
实现发布订阅功能具体实现_
redis
convertandsend-CSDN博客主要看上面这个使用
redis
做websocket分布式消息推送服务_websocket
redis
-CSDN博客ClassCastException
奋豆来袭
·
2024-02-11 12:34
redis
redis
2024最新Java面试八股文(面试必备)
包括了:Java面试、Spring、JVM、MyBatis、
Redis
、MySQL、并发编程、微服务、Linux、S
程序一逸
·
2024-02-11 11:15
java
面试
开发语言
后端
职场和发展
spring
boot
jedis分片原理剖析
Redis
2.0+版本不支持服务器分片,只能通过jedis分片,3.0+以上支持hash槽的服务端分片。jedis的详细分片实现如下,其中murmurhash是当前主流的分片算法。
小雪的笔记
·
2024-02-11 11:23
Redis
与Kafka达成高并发更新库存与数据一致性保证
一.并发更新方案采用在
Redis
中判断并更新库存(库存值可增可减),由
Redis
保证库存的正确性,由Kafka与MongodDB数据库事务保证最终的一致性。
greatsharp
·
2024-02-11 11:56
分布式
Redis
高并发
分布式
kafka
redis
环境配置
管理工具个人推荐使用这个,不仅可以管理各版本的python还能管理每个环境包https://www.anaconda.com/mongdbnosql数据库https://www.mongodb.com/
Redis
nosql
疯帮主
·
2024-02-11 10:28
宝塔使用php命令,宝塔面板Linux版命令大全
这些命令含从安装、管理、Nginx、Apache、MySQL、FTP、PHP、
Redis
、Memcached,留档以备后续使用。一、安装宝塔1、Linux面板5.9(稳定版)安装命令Centos
weixin_39669769
·
2024-02-11 09:43
宝塔使用php命令
宝塔Linux面板命令大全
前言发现了官方发布的面板文档解决了燃眉之急,这些命令含从安装、管理、Nginx、Apache、MySQL、FTP、PHP、
Redis
、Memcached,留档以备后续使用。
ao200945
·
2024-02-11 09:12
操作系统
运维
php
校招失败,在小公司熬了2年后我终于进了阿里,定级P6(Java岗)
image一面(远程视频面)自我介绍项目介绍
Redis
介绍了解
redis
源码吗了解
redis
集群吗Hashmap的原理hashmap容量为什么是2
我要熬夜写代码
·
2024-02-11 09:17
MySQL进阶查询篇(3)-查询
性能优化
的常见技巧
在实际开发中,由于数据量的增长和查询需求的复杂化,MySQL数据库的查询
性能优化
显得尤为重要。本文将介绍MySQL数据库查询
性能优化
的常见技巧,帮助开发人员提高数据库查询效率。
俞兆鹏
·
2024-02-11 08:45
MySQL学习指南
mysql
Redis
-基础知识
Redis
-狂神、慕课定义:内存中的数据结构可持久化的存储系统,用作数据库、缓存、消息中间件。
向上的小张
·
2024-02-11 07:11
java
【SpringBoot】
Redis
集中管理Session和自定义用户参数解决登录状态及校验问题
个人主页推荐专栏:《深入浅出SpringBoot》《java对AI的调用开发》《RabbitMQ》《Spring》《SpringMVC》学无止境,不骄不躁,知行合一文章目录前言一、分布式Session问题
Redis
浩泽学编程
·
2024-02-11 07:36
实战笔记
spring
boot
redis
后端
分布式session
自定义参数
java
自定义用户参数
全局唯一id生成器 各种实现记录
全局唯一id生成器
Redis
生成前提知识~~时间戳时间戳这个东西我们老是听到,却可能不是特别了解首先,时间戳是从1970年1月1号0点0分开始的秒数,我查了蛮多资料,理论上来说,时间戳是没有上限的,而我们一般用位数来限制这里的上限
憨憨小江
·
2024-02-11 07:49
springboot
spring
boot
Redis
son分布式锁 原理 + 运用 记录
Redis
son分布式锁简单入门pomorg.
redis
son
redis
son3.13.6配置类packagecom.hmdp.config;importorg.
redis
son.
Redis
son;importorg.
redis
son.api.
Redis
sonClient
憨憨小江
·
2024-02-11 07:47
分布式
性能优化
分析及常见
性能优化
策略总结
最近,大家似乎都对
性能优化
分析,这一方面比较感兴趣。一方面是比较感兴趣,另一方面就是遇见许多类似的状况,但是,却不知从何下手,根源在哪里?应当如何正确优化?首先,先跟大家讲解下常见的
性能优化
策略分类!
LLG1234567890123
·
2024-02-11 06:39
APP性能优化
android
webpack之常见
性能优化
webpack之常见
性能优化
构建性能减少模块解析优化loader性能限制loader的应用缓存loader的结果多线程打包开启热替换常见loader和plugin传输性能分包手动分包自动分包模块体积优化代码压缩
Mr_RedStar
·
2024-02-11 06:39
webpack
webpack
前端
常见
性能优化
策略
对于经常接触高并发服务的同学来学,会经常涉及到
性能优化
,但是由于平时很少总结,内容会比较分散,这里简单做一些总结1:空间换时间比如一些数据的访问需要很快返回结果,原本在磁盘上的数据,需要放到内存里面。
hui12345685
·
2024-02-11 06:09
性能优化
C#系列-C#访问MongoDB+
redis
+kafka(7)
目录一、C#中访问MongoDB.二、C#访问
redis
.三、C#访问kafka.C#中访问MongoDB在C#中访问MongoDB,你通常会使用MongoDB官方提供的MongoDBC#/.NETDriver
管理大亨
·
2024-02-11 06:59
C#系列
技术
c#
mongodb
redis
nodejs微服务:单体架构与微服务架构
团队规模不大的时候,单体架构比微服务架构具有更高的生产率1)单体架构的程序部署在单台服务器这种架构是目前中小企业用的最多的架构其中web服务(nginx)、网站程序、静态资源(图片)、数据库(Mysql、
Redis
Wang's Blog
·
2024-02-11 06:26
NodeJs
Web
Full
Stack
微服务
架构
数据库
RuoYi模块功能分析:第四章
redis
文章目录一、添加依赖二、配置
redis
三、配置类四、FastJson2Json
Redis
Serializer五、
redis
工具类六、若依redi的使用2.1、controller的基本使用一、添加依赖org.springframework.bootspring-boot-starter-data-
redis
真让人秃头呀
·
2024-02-11 06:52
Java开发专栏
数据库
缓存
java
redis
(1)简单动态字符串
本节开始,我们来一起了解一下
redis
的原理,分为四个部分,数据结构与对象,单机数据库实现,多机数据库实现,独立功能的实现简单动态字符串1、
redis
没有直接使用c语言传统字符串标识,而是自己构建了名为简单动态字符串
大飞飞_s8
·
2024-02-11 05:22
记一次接口
性能优化
实践总结:优化接口性能的八个建议
对于优化而言,可以从八个方面进行优化1.数据量大的时候,批量操作数据入库2.耗时操作异步处理3.优化业务逻辑4.恰当的使用缓存5.数据压缩传输内容6.考虑使用mq与文件等其他方式,异步后,再落地DB对于入库而言://批量入库,mybatisdemo实现insertintotrans_detail(id,amount,payer,payee)values(#{item.id},#{item.amou
lz众里寻他千百度
·
2024-02-11 05:19
python——
Redis
数据库list操作
学习链接:http://www.cnblogs.com/melonjiang/p/5342505.html参考学习链接:https://pypi.org/project/
redis
/参考学习链接:https
HAO延WEI
·
2024-02-11 04:43
说说RDB和AOF
简介:众所周知,
redis
是一个内存数据库,当机器重启后,内存中数据都会丢失。
Benaso
·
2024-02-11 04:12
Redis
Java学习思考
redis
数据库
Vue
性能优化
回答此问题应从三个方面着手1)Vue代码层面的优化;2)webpack配置层面的优化;3)基础的Web技术层面的优化一:代码层面的优化1.1、v-if与v-show区分使用场景1.1.1手段:v-if是通过控制dom节点的存在与否来控制元素的显隐;v-show是通过设置DOM元素的display样式,block为显示,none为隐藏;1.1.2.编译过程:v-if切换有一个局部编译/卸载的过程,切
moveOn_3e90
·
2024-02-11 04:12
Redis
事务详解
目录一、前言二、
Redis
事务-基本使用三、
Redis
事务-错误处理四、
Redis
事务-事务冲突1、事务所产生的问题2、悲观锁&乐观锁3、watch监听4、watch的应用场景五、
Redis
事务特性一、
怪 咖@
·
2024-02-11 03:32
#
Redis
redis
数据库
缓存
Redis
事务
Redis
事务允许将多个命令打包,然后一次性、按顺序地执行。
Redis
事务的实现主要通过以下几个命令:MULTI、EXEC、DISCARD和WATCH。
辞暮尔尔-烟火年年
·
2024-02-11 03:00
Redis
redis
拼多多后台开发面试真题:如何用
Redis
统计独立用户访问量
废话不多说,今天我们来聊一聊拼多多的一道后台面试真题,是一道简单的架构类的题目:拼多多有数亿的用户,那么对于某个网页,怎么使用
Redis
来统计一个网站的用户访问数呢?使用Ha
程序员BUG
·
2024-02-11 03:12
深入浅出:Golang的Crypto/SHA256库实战指南
库概览主要功能应用场景库结构和接口实例基础使用教程字符串哈希化文件哈希化处理大型数据进阶使用方法增量哈希计算使用Salt增强安全性多线程哈希计算实际案例分析案例一:安全用户认证系统关键步骤代码示例案例二:文件完整性验证关键步骤代码示例最佳实践和
性能优化
最佳实践
walkskyer
·
2024-02-11 02:45
golang标准库
golang
开发语言
后端
深入探索
Redis
:如何有效遍历海量数据集
深入探索
Redis
:如何有效遍历海量数据集
Redis
作为一个高性能的键值存储数据库,广泛应用于各种场景,包括缓存、消息队列、排行榜等。
一休哥助手
·
2024-02-11 02:13
redis
数据库
缓存
Redis
持久化方式 -RDB
针对
Redis
的话题估计有些读者已经开始反感了,昨天还是有一些读者困惑,这就具体讲述下**
Redis
持久化方式-RDB**的实现方式~触发时机手动触发:save:阻塞当前
Redis
服务器,直到RDB过程完成为止
Java李太白
·
2024-02-11 01:15
Android
性能优化
-ANR 的原因和解决方案
1、出现ANR的情况满足下面的一种情况系统就会弹出ANR提示输入事件(按键和触摸事件)5s内没被处理;BroadcastReceiver的事件(onRecieve()方法)在规定时间内没处理完(前台广播为10s,后台广播为60s);Service前台20s后台200s未完成启动;ContentProvider的publish()在10s内没进行完。通常情况下就是主线程被阻塞造成的。2、ANR的实现
chuhe1989
·
2024-02-11 00:47
Android开发
android
Pandas 数据处理-排序与排名的深度探索【第69篇—python:文本数据处理】
排序与排名的深度探索1.sort_index方法2.sort_values方法3.rank方法4.多列排序5.排名方法的参数详解6.处理重复值7.对索引进行排名8.多级索引排序与排名9.更高级的排序自定义10.
性能优化
技巧
一见已难忘的申公豹
·
2024-02-11 00:14
pandas
python
开发语言
排序和排名
数据预处理
sort_index
Java高并发秒杀系统总结
集成thymeleaf,封装公共返回beanRespBean3.MybatisPlus分布式会话:1.用户登录a.设计数据库b.明文密码二次MD5加密c.参数校验+全局异常处理2.共享Sessiona.
redis
成为更好的qyk嘻嘻
·
2024-02-10 22:56
Redis
SpringBoot
java
开发语言
后端
开源
Redis
可视化客户端工具 ,谁用谁知道
自从
Redis
面世以来,作为一个开源的高性能的key-value型数据库,很大程度的对关系型数据库起到很好的补充作用。
Redis
实现简单,功能齐全,已经成为了业界最常用的组件之一。
tuonioooo
·
2024-02-10 22:15
Python+requests+pytest+allure封装接口自动化1-项目结构目录创建,requests库封装
这是一个package,用来各个接口的类封装,按照你的业务可以将其分为多个packagecommon:这是一个package,用来封装底层公共方法,比如requests库封装、文件操作封装、加解密封装、
redis
Yasar.l
·
2024-02-10 22:24
自动化测试
python
pytest
自动化
测试工具
.net core 发布到windows服务器遇到的问题
NETCoreWindowsServerHostingNETCore2.0SDK在安裝.NETCoreWindowsServerHosting软件包之前获取并安装MicrosoftVisualC++2015
Redis
tributable
wwwww呀
·
2024-02-10 22:57
redis
如何实现 LRU
LRU是一个缓存置换算法,在缓存有限的情况下,如果有新的数据加载至缓存,则需要考虑将不会再继续被访问的数据剔除掉,但是缓存是否会被访问是没有办法预测的,所以,LRU是基于一个假设实现:如果一个key经常被访问,那么这个key的空闲时间最小这也是LRU实现的一个思路,它首先实现一个双向链表,当一个key被访问时,则将这个key放到双向链表的头部,当时缓存不可用时,从尾部逐个剔除如果按照这样的假设实现
lotusgrm
·
2024-02-10 21:43
springboot
redis
实现消息队列
在SpringBoot中使用
Redis
作为消息队列,可以通过以下步骤实现:1.添加依赖在`pom.xml`文件中添加SpringBoot
Redis
和Jedis的依赖:```xmlorg.springframework.bootspring-boot-starter-data-
redis
redis
.clientsjedis
java知路
·
2024-02-10 21:05
spring
boot
redis
java
redis
的hash类型
Redis
中每个hash可以存储2的32次
滴流乱转的小胖子
·
2024-02-10 20:57
RecyclerView缓存机制与
性能优化
ViewHolder的属性ViewitemView:对应RecyclerView的子ViewintmPosition:View当前对应数据在数据源中的位置intmOldPosition:View上次绑定的数据在数据源中的位置longmItemId:可以判断ViewHolder是否需要重新绑定数据intmItemViewType:itemView对应的类型intmPreLayoutPosition:
wenxiaohua
·
2024-02-10 19:53
Spring Boot使用CommandLineRunner接口完成资源初始化
实现CommandLineRunner接口即可可以用于:
redis
缓存初始化等等场景。
皮皮12611
·
2024-02-10 19:34
Redis
内存模型
一、
Redis
内存统计工欲善其事必先利其器,在说明
Redis
内存之前首先说明如何统计
Redis
使用内存的情况。
Java架构_师
·
2024-02-10 18:52
Redis
介绍
介绍
Redis
是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。
Love皮
·
2024-02-10 17:37
Redis
redis
redis
介绍
一、
Redis
简介
Redis
是一个开源的使用C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库。它可以用作数据库、缓存和消息中间件。
xmh-sxh-1314
·
2024-02-10 17:36
redis
redis
s集群 三主三从集群模式
三主三从集群模式1)、新建
redis
集群目录:7001~7006工作目录【/app/soft/
redis
-cluster/目下】2)、在7001~7006目录下创建bin和conf目录,然后将/app/
30醒悟的码农
·
2024-02-10 17:26
redis
redis
集群模式的配置及其使用方式
redis
集群模式的配置Configconfig=newConfig();config.useClusterServers().setScanInterval(2000)//集群状态扫描间隔时间,单位是毫秒
小雨滴Java
·
2024-02-10 17:56
Java日常用到的小功能
redis
缓存
可重入锁
cluster配置
Redis
持久化之RDB持久化
Redis
相对于其他NoSQL内存数据库而言,除了更富的数据结构和速度快之外,
Redis
的丰富的持久化方案也就一个很显著的优势,
Redis
支持RDB、AOF、混合持久化三种模式。
邹志全
·
2024-02-10 15:57
myCat 数据切分方案分析
1.数据切分方案分析对于数据库来讲,他永远是系统中最关键的核心环节和瓶颈保护数据库:增加缓存(
redis
、ES)MySQL本身的分区表只是对磁盘进行了高效利用水平扩展,多数据中心(各个数据中心,互相是一个备份节点
dylan丶QAQ
·
2024-02-10 15:48
黑猴子的家:
Redis
主从机复制原理
每次从机连通后,都会给主机发送sync指令主机立刻进行存盘操作,发送RDB文件,给从机从机收到RDB文件后,进行全盘加载之后每次主机的写操作,都会立刻发送给从机,从机执行相同的命令
黑猴子的家
·
2024-02-10 13:59
上一页
21
22
23
24
25
26
27
28
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他