Redis 核心技术与实战
2 人感兴趣 · 54 次引用
- 最新
- 推荐

GitHub 笔记疯抢竟崩溃!Redis 完整开发实战居然包含大厂同款项目
现在阿里、腾讯这样的大厂和大部分互联网公司,基本上都需要使用到Redis技术。网上发布的Java开发工程师岗位的招聘信息,对Redis的要求都是熟练掌握。
这份阿里逆天的 Redis 手册,于内卷中首次亮相了
最近去面了腾讯,阿里,字节跳动,发现对redis会重点考察,于是我打算总结redis专项。
如何解决注册并发问题并提高 QPS
前面在本地的windows通过apache的ab工具测试了600并发下“查询指定手机是否存在再提交数据”的注册功能会出现重复提交的情况,并且在注册完成时还需要对邀请人进行奖励,记录邀请记录,对该新用户自动发布动态信息,发短信或发邮件等其他业务功能。

微服务 SpringBoot 整合 Redis GEO 实现附近商户功能
如何 实现 附近商户的搜索? Redis GEO 一键搞定!

太强了,全面解析缓存应用经典问题
随着互联网从简单的单向浏览请求,发展为基于用户个性信息的定制化以及社交化的请求,这要求产品需要做到以用户和关系为基础,对海量数据进行分析和计算。
深入理解 Redis 新特性:Stream
Redis stream 是 Redis 5 引入的一种新的数据结构,它是一个高性能、高可靠性的消息队列,主要用于异步消息处理和流式数据处理。在此之前,想要使用 Redis 实现消息队列,通常可以使用例如:列表,有序集合、发布与订阅 3 种数据结构。

【Redis 源码分析】Server 启动过程
我们通过源码来看看redis的server启动的时候会初始化哪些参数或者对象,以及都做了哪些工作?

redis 精讲系列介绍八 - 淘汰策略
说完了过期策略再说下淘汰策略,redis 使用的策略是近似的 lru 策略,为什么是近似的呢,先来看下什么是 lru,看下 wiki 的介绍

redis 精讲系列介绍七 - 过期策略
这一篇不再是数据结构介绍了,大致的数据结构基本都介绍了,这一篇主要是查漏补缺,或者说讲一些重要且基本的概念,也可能是经常被忽略的,很多讲 redis 的系列文章可能都会忽略,学习 redis 的时候也会,因为觉得源码学习就是讲主要的数据结构和“算法”学习


Redis「6」实现消息队列
在分布式系统中,消息队列逐渐成为应用系统内部通信的核心组件。它具有低耦合、高可靠、广播、流量控制、最终一致性等特性。使用较多的一般都是开源的中间件,例如各种MQ、kafka等。

Redis「5」事件处理模型与键过期策略
Redis 服务端是基于 Reactor 模式实现的事件驱动程序,需要处理两类事件:文件事件和事件事件。



如何保证 Redis 高可用和高并发(主从 + 哨兵 + 集群)
Redis 作为一种高性能的内存数据库,普遍用于目前主流的分布式架构系统中。为了提高系统的容错率,使用多实例的 Redis 也是必不可免的,但同样复杂度也相比单实例高出很多。

Redis「2」缓存一致性与异常处理
当使用 Redis 作为数据库的缓存时,不得不考虑的一个问题是如何保证缓存(Redis)中数据与数据库中数据的一致性问题。


Redis 缓存击穿(失效)、缓存穿透、缓存雪崩怎么解决?
原始数据存储在 DB 中(如 MySQL、Hbase 等),但 DB 的读写性能低、延迟高。设计一个缓存系统提高性能,遇到缓存击穿、穿透、雪崩该怎么办?



【Redis 权威指南】「特性分析」Sentinel 的特性分析典籍指南(1)
所有资源来源于Redis官方文档的翻译:https://redis.io/topics/sentinel

【Redis 源码分析专题】(1)从本质分析你写入 Redis 中的数据为什么不见了?
Redis作为一个成熟的数据存储中间件,它提供了完善的数据管理功能,比如之前我们提到过的数据过期和今天我们要讲的数据淘汰(evict)策略。

Redis 日志篇:AOF 与 RDB 让数据持久化不丢失
Redis 为了实现无畏宕机快速恢复,设计了两大杀手锏,分别是 AOF(Append Only FIle)日志和 RDB 快照。

Redis 主从复制、Sentinel、集群总结
本文记录学习《Redis设计与实现》一书中第三部分关于主从复制、Sentinel、集群的知识总结及理解。

面试系列 -4 hash 应用场景分析实践
大家好,我是阿沐!你的收获便是我的喜欢,你的点赞便是对我的认可。 作为一年开发经验的毕业生,在上一个章节跟面试官聊了聊redis的基础数据结构列表类型,我们凭借日常知识积累跟面试官展开了相爱相杀场景以及面试期间内心的活动状况。通过结

🚄【Redis 干货领域】从底层彻底吃透 AOF 重写 (源码篇)
(1)主要考虑避免频繁的线程以及多CPU内核的上下文切换机制。

🕋【Redis 干货领域】从底层彻底吃透 AOF 重写 (原理篇)
不要轻易去依赖一个人,它会成为你的习惯,当分别来临,你失去的不是某个人,而是你精神的支柱。无论何时何地,都要学会独立行走,它会让你走得更坦然些。

🕋【Redis 干货领域】彻底走进主从架构的世界(入门篇)
其实面试除了考察 Redis,不少公司都很重视高并发高可用的技术,特别是一线互联网公司,分布式、