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依赖包
【SpringBoot】
Redis
集中管理Session和自定义用户参数解决登录状态及校验问题
个人主页推荐专栏:《深入浅出SpringBoot》《java对AI的调用开发》《RabbitMQ》《Spring》《SpringMVC》学无止境,不骄不躁,知行合一文章目录前言一、分布式Session问题
Redis
浩泽学编程
·
2024-02-11 07:36
实战笔记
spring
boot
redis
后端
分布式session
自定义参数
java
自定义用户参数
第一个小程序总结分享
一、项目前期介绍1、项目运行安装node,安装wepy.npminstallwepy-cli-g命令行执行npminstall安装
依赖包
命令行执行npmrundev编译,产生小程序项目目录dist.开启实时编译
我才是大田田
·
2024-02-11 07:21
全局唯一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
分布式
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
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
数据库
ThingsBoard学习(一)——项目构建
还是慢的一批项目编译到thingsboard目录下用maven编译一下mvncleaninstall-DskipTests项目就编译好了,可以启动试试但是真实情况要是有这么爽就好了跑mvninstall时会遇到各种问题
依赖包
弄不下来我姑且是挂
天探女
·
2024-02-11 04:56
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
深入探索
Redis
:如何有效遍历海量数据集
深入探索
Redis
:如何有效遍历海量数据集
Redis
作为一个高性能的键值存储数据库,广泛应用于各种场景,包括缓存、消息队列、排行榜等。
一休哥助手
·
2024-02-11 02:13
redis
数据库
缓存
书生·浦语大模型第三课作业
收集该领域的专业资料构建专业知识库,并搭建专业问答助手,并在OpenXLab上成功部署(截图,并提供应用地址)基础作业:1LangChain相关环境配置在已完成InternLM的部署基础上,还需要安装以下
依赖包
查里王
·
2024-02-11 02:12
python
开发语言
Redis
持久化方式 -RDB
针对
Redis
的话题估计有些读者已经开始反感了,昨天还是有一些读者困惑,这就具体讲述下**
Redis
持久化方式-RDB**的实现方式~触发时机手动触发:save:阻塞当前
Redis
服务器,直到RDB过程完成为止
Java李太白
·
2024-02-11 01:15
python导出excel-表结构文档生成
为了体验python连接mysql数据库和导出excel,写一个导出表结构的脚本创建、激活虚拟环境python3-mvenvpy_envsourcepy_env/bin/activate安装
依赖包
pipinstallxlwtpipinstallpymysqlcoding
东南枝下
·
2024-02-11 00:25
配置allure生成精美测试报告
配置allure生成精美测试报告allure用来生成精美测试报告安装
依赖包
控制函数执行顺序allure安装:安装jdk下载安装alluremac安装allureWindows和Linux安装验证allure
识途老码
·
2024-02-11 00:44
selenium
pytest
allure
python
UI自动化
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
PCL1.11.1_(win10+vs2019)/(win10+cmake编译)/(ubuntu18.04+cmake编译)
3、运行rabbit二、cmake编译改进的pcl库引言准备工作cmake生成工程vs2019编译链接pcl工程使用编译好的库三、ubuntu18.04使用PCL库前提,安装各种
依赖包
开始安装PCL库测试
桃子酱紫君
·
2024-02-10 20:05
笔记本儿
自动驾驶
python
机器学习
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
python 虚拟环境
在虚拟环境下,每一个工程都有自己的
依赖包
,而与其它的工程无关。不同的虚拟环境中同一个包可以有不同的版本。并且,虚拟环境的数量没有限制,我们可以轻松地用
足__迹
·
2024-02-10 15:21
myCat 数据切分方案分析
1.数据切分方案分析对于数据库来讲,他永远是系统中最关键的核心环节和瓶颈保护数据库:增加缓存(
redis
、ES)MySQL本身的分区表只是对磁盘进行了高效利用水平扩展,多数据中心(各个数据中心,互相是一个备份节点
dylan丶QAQ
·
2024-02-10 15:48
nvm(node版本控制工具)与nrm(npm源管理器)的使用
前言:在项目实际开发中,会遇到多个项目并行开发,而往往项目不同对应的开发环境不同,单一的环境往往会遇到node的升级/降级、npm的升级/降级、node与npm不兼容、
依赖包
安装速度慢或卡顿等问题,从而影响开发效率
acaiEncode
·
2024-02-10 14:24
工具大全
npm
前端
node.js
黑猴子的家:
Redis
主从机复制原理
每次从机连通后,都会给主机发送sync指令主机立刻进行存盘操作,发送RDB文件,给从机从机收到RDB文件后,进行全盘加载之后每次主机的写操作,都会立刻发送给从机,从机执行相同的命令
黑猴子的家
·
2024-02-10 13:59
celery定时、周期任务示例详解
代码s4.pyfromceleryimportCeleryfromcelery.schedulesimportcrontabapp=Celery('tasks',broker='
redis
://127.0.0.1
天魔老师
·
2024-02-10 13:10
python
后端
celery
定时
周期
任务
详解
celery中share_task的使用详解
):r=requests.post('http://127.0.0.1:7800/')print(r)fromceleryimportCeleryapp=Celery('tasks',broker='
redis
天魔老师
·
2024-02-10 13:09
python
后端
python
celery
share_task
python实现即时通讯后端思路整理
一、后端数据存储的选择本来想使用
redis
或者mongodb,但是:1.
redis
功能太少,如果用
redis
,还需要更多的学习成本,学习一些类似这样的工具:
RediS
earch,高性能的全文搜索引擎(Faster
天魔老师
·
2024-02-10 13:39
后端
python
python
即时通讯
websocket
架构
Linux编译安装MySQL
.修改MySQL密码二、若初始化失败,重新初始化三、设置MySQL开机自启四、问题和解决方法问题1问题2五、MySQL忘记密码,重置密码一、编译安装MySQL步骤:1.环境准备首先安装MySQL所需的
依赖包
四季三餐,有趣有盼
·
2024-02-10 12:36
数据库
mysql
linux
数据库
安装
redis
报错信息/启动
redis
报错
HandleServiceCommands:systemerrorcaught.errorcode=1072,message=Create安装
redis
报错信息:28Apr10:25:21.537#HandleServiceCommands
奇点一氪
·
2024-02-10 12:20
Redis
分布式锁
Redis
分布式锁可通过
redis
中提供的指令setnx(SETifnotexists的简写)keyvalue实现,也可通过mysql的唯一约束来实现,
redis
的核心部分是单线程运行的,用了setnx
sunyunfei1994
·
2024-02-10 12:01
理论知识
redis
分布式
redis
过期淘汰策略、数据过期策略与持久化方式
redis
的过期淘汰策略
redis
过期淘汰策略有很多,默认是no-eviction不删除任何数据,内存不足存入会直接报错,可以在
redis
配置文件中进行设置,其中有两个非常重要的概念,LRU与LFULRU
sunyunfei1994
·
2024-02-10 12:30
理论知识
redis
Redis
使用 RDB 持久化方式的过程
管理员可以配置
Redis
在经过一定时间间隔或执行了一定数量的写操作后触发RDB持久化。这个配置通常在
Redis
的配置文件中进行,可以通过save或save9001这样的配置项来设定。
严定洲
·
2024-02-10 12:43
java
开发语言
redis
浅聊一下
redis
的雪崩,穿透和击穿
雪崩(CacheAvalanche):定义:雪崩是指缓存中的大量数据在同一时间失效或过期,导致大量的请求直接访问底层数据库或服务,从而对数据库或服务造成巨大的压力。例子:假设有一组缓存键,它们的过期时间是相同的,并且在同一时刻失效。当这些键失效时,大量的请求同时到达后端服务,由于缓存未命中,导致大量的请求落到底层数据库,引起数据库压力骤增。穿透(CachePenetration):定义:穿透是指恶
严定洲
·
2024-02-10 12:11
redis
数据库
缓存
express如何使用MongoDB数据库
一、准备工作1、要在全局环境下安装express以及它的生成器,创建项目,安装
依赖包
以及mongoose2、在启动项目之前可以修改两个地方修改端口号:bin/www文件夹中修改端口号varport=normalizePort
熊猫也是熊
·
2024-02-10 10:59
(转载)阿里云
Redis
开发规范
https://yq.aliyun.com/articles/531067?spm=a2c4e.11153940.0.0.771d7616DEKWRC一、键值设计1.key名设计(1)【建议】:可读性和可管理性以业务名(或数据库名)为前缀(防止key冲突),用冒号分隔,比如业务名:表名:idugc:video:1(2)【建议】:简洁性保证语义的前提下,控制key的长度,当key较多时,内存占用也不
dbc94a66f502
·
2024-02-10 09:14
SpringSecurity SecurityContextPersistenceFilter源码 和企业级
Redis
使用思想
如果自定义登录认证流程授权验证的流程原理今天我们分析下整个认证过程和企业级
redis
使用的思想,是为了解决什么问题,以及怎么解决的?我们简单回顾下SpringSecurity流程。
Survivor001
·
2024-02-10 09:28
spring源码
互联网
计算机常识
redis
上一页
18
19
20
21
22
23
24
25
下一页
按字母分类:
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
其他