Skip to content

Commit

Permalink
update redis-break-pierce-avalanche.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobinqt committed Jul 27, 2023
1 parent 552cf00 commit d8a07fa
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions content/posts/developer/redis-break-pierce-avalanche.md
Expand Up @@ -17,9 +17,9 @@ featuredImage: ""

reproduce: true

series: ["reproduce"]
tags: ["redis"]
categories: ["开发者手册"]
series: [ "reproduce" ]
tags: [ "redis" ]
categories: [ "开发者手册" ]
lightgallery: true

toc: true
Expand Down Expand Up @@ -74,8 +74,7 @@ math: true

#### 布隆过滤器

布隆过滤器是一个非常神奇的数据结构,通过它我们可以非常方便地
**判断一个给定数据是否存在于海量数据中**。我们需要的仅仅就是判断 key 是否合法。
布隆过滤器是一个非常神奇的数据结构,通过它我们可以非常方便地**判断一个给定数据是否存在于海量数据中**。我们需要的仅仅就是判断 key 是否合法。

具体是这样做的:把所有可能存在的请求的值都存放在布隆过滤器中,当用户请求过来,先判断用户发来的请求的值是否存在于布隆过滤器中。不存在的话,直接返回请求参数错误信息给客户端,存在的话再走其他的判断流程。

Expand Down

0 comments on commit d8a07fa

Please sign in to comment.