Theory + algorithm + practice, teach you how to realize distributed current limiting under 100 million traffic
Abstract: in Internet applications, high concurrency systems will face a major challenge, that is, a large number of stream high concurrency visits, such as tmall's double 11, JD 618, second kill, rush purchase promotion, etc. These are typical high concurrency scenarios with large traffic.
This article is shared from Huawei cloud community& ...
Added by Rusnoff on Thu, 17 Feb 2022 07:03:29 +0200
[practical problems] - three practices of Bloom filter: handwriting, redistribution and Guava
We have already talked about the principle of Bloom filter [practical problem] - bloom filter for cache penetration (1) , we all understand that it works like this, so how do we use bloom filter in general? If you do it yourself, how do you do it?
Bloom filter
Read the definition again:
Bloom Filter was proposed by Burton Howard Bloom in ...
Added by artizan on Thu, 10 Feb 2022 16:45:16 +0200
RateLimiter analysis of current limiting series: SmoothWarmingUp
RateLimiter analysis of current limiting series (I): smoothburst RateLimiter analysis of current limiting series (2): SmoothWarmingUp
1, Introduction
SmoothWarmingUp is another current limiting tool provided by guava. Different from smoothburst, SmoothWarmingUp adds a preheating process on the basis of fixed speed, which can better deal ...
Added by joesaddigh on Sat, 01 Jan 2022 14:04:13 +0200
Implementation of guava cache expiration scheme
expiration mechanism As long as it is a cache, there must be an expiration mechanism. guava cache expiration is divided into the following three types:expireAfterAccess: if the data is not accessed (read or write) within the specified time, it is expired data. When there is no data or the expired data is read, only one thread is allowed to upda ...
Added by alecks on Tue, 07 Dec 2021 01:36:58 +0200