redis
-
Redis MGET命令深度解析
目录1. MGET 命令的基本功能与用法1.1 MGET 命令简介1.2 MGET 的基本示例2. MGET 实现的底层机制2.1 单键读取(GET)的机制2.2 MGET 的批量读取机制2.3 MGET 执行的优化3. MGET 的应用场景及优势3.1 大规模读取场景3[详细]
2024-09-08 08:57 分类:数据库 -
JAVA中通过Redis实现延时任务demo实例
目录1.监听key过期事件实现1.1 实现原理1.2 实现Demo1.3 有什么缺陷?2. 通过Redission实现3. 为什么用Redisson更好?4. 为什么不直接用消息队列呢?总结先说结论,有两种方式可以实现:[详细]
2024-08-25 10:17 分类:开发 C++连接数据库SqlServer、MySql、Oracle、Access、SQLite、PostgreSQL、MongoDB、Redis
目录连接 SQL Server 数据库连接 mysql 数据库连接 oracle 数据库连接 Access 数据库连接 SQLite 数据库连接 PostgreSQL 数据库连接MongoDB数据库连接Redis数据库总结C++是一种通用的编程语言,可以使用不同的库和驱[详细]
2024-08-11 10:56 分类:开发Redis利用互斥锁解决缓存击穿问题
目录引言什么是缓存击穿?解决方案使用互斥锁实现原理示例代码Java + Jedis安装依赖代码示例总结引言[详细]
2024-08-11 08:57 分类:数据库How to structure my application for several tasks using redis with gevent or threading in Python
I hav开发者_Python百科e a process which sends financial tick data through redis pubsub in realtime. Now I want my Python Application to handle the input data (json) for instance calculations like movi[详细]
2023-04-12 22:36 分类:问答how to limit number of entries in a db of redis
I am running a redis instance and want to limit the number of keys in an DB of the instance. I checke the documentation and I 开发者_StackOverflow社区saw that we can limit the memory of a complete ins[详细]
2023-04-12 18:51 分类:问答Solutions for resque failover redis
Since clustered Redis is still in the works, are there mechanisms in R开发者_运维知识库esque that automatically will failover to a Redis slave should the master ever go down?I don\'t think so. However[详细]
2023-04-12 17:03 分类:问答redis pub sub and ttl
Is there a way so that I expire a \"published\" message in redis? I need this because, as per my understanding, any published message will be put in a queue till there is a subscriber. In such a case[详细]
2023-04-12 16:38 分类:问答Redis Sub/Pub - Get latest published content?
Using nodejs and redis sub/pub system. When I log into my web app I want to get the latest published content once I subscribe to it via nodejs. Is this possible? When I login I want the user to see th[详细]
2023-04-12 16:05 分类:问答Mongoengine document consistency under concurrency
I am trying to create a dummy wrapper class ( a mongoengine Document ) that implements the interface of Redis hashes. For example:[详细]
2023-04-12 10:06 分类:问答