Skip to content

Commit

Permalink
Update Redis.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailclimb committed Sep 2, 2019
1 parent 4850fba commit 2771573
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/database/Redis/Redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,11 @@ Redis 通过 MULTI、EXEC、WATCH 等命令来实现事务(transaction)功能。

在传统的关系式数据库中,常常用 ACID 性质来检验事务功能的可靠性和安全性。在 Redis 中,事务总是具有原子性(Atomicity)、一致性(Consistency)和隔离性(Isolation),并且当 Redis 运行在某种特定的持久化模式下时,事务也具有持久性(Durability)。

补充内容:

> 1. redis同一个事务中如果有一条命令执行失败,其后的命令仍然会被执行,没有回滚。(来自[issue:关于Redis事务不是原子性问题](https://github.com/Snailclimb/JavaGuide/issues/452)
> 2.
### 缓存雪崩和缓存穿透问题解决方案

**缓存雪崩**
Expand Down

0 comments on commit 2771573

Please sign in to comment.