tgoop.com/notes_of_programmer/515
Last Update:
HybridCache - ΠΊΠ°ΠΆΠ΅ΡΡΡ Π³ΠΎΡΠΎΠ²ΠΈΡΠ° Π·Π°ΠΌΠ΅Π½Π° ΡΠ²Π½ΠΎΠ³ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ IMemoryCache / IDistributedCache. ΠΠ° Π΄Π°Π½Π½ΡΠΉ ΠΌΠΎΠΌΠ΅Π½Ρ ΡΡΡΠ΅ΡΡΠ²ΡΠ΅Ρ ΡΠΎΠ»ΡΠΊΠΎ Π² Π²ΠΈΠ΄Π΅ prerelease ΠΏΠ°ΠΊΠ΅ΡΠ°. ΠΠΌΠ΅Π΅Ρ Π²Π°ΠΆΠ½ΡΡ ΡΠΈΡΡ, ΠΏΡΠΎ ΠΊΠΎΡΠΎΡΡΡ Π·Π°Π±ΡΠ²Π°Π΅Ρ ΠΌΠ½ΠΎΠ³ΠΎ Π°Π²ΡΠΎΡΠΎΠ² Π°Π»ΡΡΠ΅ΡΠ½Π°ΡΠΈΠ²Π½ΡΡ
ΠΊΡΡΠ΅ΠΉ:
Cache stampede happens when a frequently used cache entry is revoked, and too many requests try to repopulate the same cache entry at the same time. HybridCache combines concurrent operations, ensuring that all requests for a given response wait for the first request to populate the cache.
Ρ.Π΅. ΡΠΎ ΠΊΠ°ΠΊ ΡΡΠΎ ΡΠ΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Π½ΠΎ Π½Π°ΠΏΡΠΈΠΌΠ΅Ρ Π² FusionCache ΠΈ LazyCache Π΅ΡΠ»ΠΈ Ρ ΠΏΡΠ°Π²ΠΈΠ»ΡΠ½ΠΎ ΠΏΠΎΠΌΠ½Ρ. #dotnet
BY π ΠΠ°ΠΏΠΈΡΠΊΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ΅ΡΠ°
Share with your friend now:
tgoop.com/notes_of_programmer/515