Это решение давней проблемы с разделением между IMemoryCache и IDistributedCache.
🔧 Что даёт HybridCache: • Единый API для in-memory и distributed кэша • Настраиваемая сериализация • Stampede protection (анти-нагрузочная защита) • Удаление по тегам
🧠 Как работает GetOrCreateAsync: 1. Проверяет локальный и распределённый кэш 2. Если нет — вызывает фабричный метод 3. Кэширует результат и возвращает его
🛡️Stampede protection: только один запрос на ключ запускает фабрику, остальные ждут — никакой гонки или перегрузки БД.
Это решение давней проблемы с разделением между IMemoryCache и IDistributedCache.
🔧 Что даёт HybridCache: • Единый API для in-memory и distributed кэша • Настраиваемая сериализация • Stampede protection (анти-нагрузочная защита) • Удаление по тегам
🧠 Как работает GetOrCreateAsync: 1. Проверяет локальный и распределённый кэш 2. Если нет — вызывает фабричный метод 3. Кэширует результат и возвращает его
🛡️Stampede protection: только один запрос на ключ запускает фабрику, остальные ждут — никакой гонки или перегрузки БД.
On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information. In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. Ng Man-ho, a 27-year-old computer technician, was convicted last month of seven counts of incitement charges after he made use of the 100,000-member Chinese-language channel that he runs and manages to post "seditious messages," which had been shut down since August 2020. Choose quality over quantity. Remember that one high-quality post is better than five short publications of questionable value. Ng was convicted in April for conspiracy to incite a riot, public nuisance, arson, criminal damage, manufacturing of explosives, administering poison and wounding with intent to do grievous bodily harm between October 2019 and June 2020.
from us