HybridCache - Thư viện lưu trữ bộ nhớ đệm mới trong .NET 9

Tác giả: Milan Jovanović
Ngày xuất bản: 2024-12-17T00:00:00
Length: 18:24

Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ

Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt

Join a community of 1000+ .NET developers: https://www.patreon.com/milanjovanovic

Learn about HybridCache, an exciting new caching library in .NET 9! This tutorial covers how to implement hybrid caching by combining local in-memory caching with Redis distributed caching using just a few lines of code. We'll explore the new HybridCacheEntryOptions, set up expiration times, and show you how to efficiently manage your application's cache across different storage layers. HybridCache solves many of the drawbacks of the existing caching implementations we have today.

HybridCache in ASP.NET Core - New Caching Library

https://www.milanjovanovic.tech/blog/hybrid-cache-in-aspnetcore-new-caching-library

Check out my courses:

https://www.milanjovanovic.tech/courses

Read my Blog here:

https://www.milanjovanovic.tech/blog

Join my weekly .NET newsletter:

https://www.milanjovanovic.tech

Chapters

0:00 IMemoryCache and its drawbacks

3:46 IDistributedCache and its drawbacks

4:58 Installing and using HybridCache

10:42 Using Redis as a distributed cache

14:24 Cache stampede protection

Dịch Vào Lúc: 2025-03-13T18:46:56Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất