By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: .NET Team Announces Release of HybridCache Library for .NET 9
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > .NET Team Announces Release of HybridCache Library for .NET 9
News

.NET Team Announces Release of HybridCache Library for .NET 9

News Room
Last updated: 2025/03/17 at 4:29 AM
News Room Published 17 March 2025
Share
SHARE

Last week, the .NET Team announced the release of HybridCache, a new .NET 9 library, now available through Microsoft.Extensions.Caching.Hybrid package. According to the source, the library is designed to enhance data storage and retrieval performance by combining both in-memory and distributed caches, such as Redis. This approach aims to ensure optimal performance and security for applications, regardless of their scale or complexity.

As explained, HybridCache simplifies common development tasks by reducing the need for boilerplate code, such as object serialization, cache-aside pattern implementation, and data consistency management. By integrating both in-memory and distributed cache stores, HybridCache is stated to improve application speed and responsiveness. It is particularly recommended for developers working with ASP.NET Core applications that involve complex data queries, operate within microservice architectures, or require real-time data processing.

The key features of HybridCache, include its compatibility with existing cache backends like Redis, SQL Server, CosmosDB, and Garnet. Additionally, the library offers a simple API, cache-stampede protection, and cache invalidation using tags. It also provides support for newer caching APIs, such as IBufferDistributedCache. Furthermore, HybridCache allows for flexible serialization options, including JSON and Protobuf, while ensuring secure data handling and authentication by default.

As reported, one of the notable features of HybridCache is its so-called cache-stampede protection. A cache stampede occurs when multiple clients simultaneously request the same data after it has expired from the cache. This often leads to redundant computations and database queries, which can slow down web applications.

According to the source, HybridCache addresses this issue by ensuring that when multiple requests for the same data arrive, only one computation is performed. The result is then returned to all queued requests, reducing unnecessary load and maintaining data consistency.

Additionally, HybridCache enables cache invalidation using tags, which are string values that categorize cache data. This feature simplifies managing and deleting cache items in bulk. Instead of deleting individual cache entries, developers can now delete all items with a specific tag or a set of tags with a single API call. Based on the documentation, this approach improves efficiency, particularly when handling large volumes of cached data.

It is important to note, that when cache entries are invalidated by key or tag, they are removed from both the current server and its secondary out-of-process storage. However, the in-memory cache on other servers remains unaffected.

HybridCache is compatible with older .NET runtimes, including .NET Framework 4.7.2 and .NET Standard 2.0, making it accessible to a wide range of developers.

Regarding the extensibility, the library includes a concrete implementation of the HybridCache abstract class, which is provided through dependency injection. Developers are also free to create custom implementations of the API for specific use cases.

Microsoft provides detailed documentation for interested readers to explore more about HybridCache features.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Nothing Phone 3A Pro Review: Funky Mid-Ranger with Real Zoom Camera
Next Article A Structural Analysis of Limits and Colimits in Monographs | HackerNoon
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

China seems to be molding a huge poaching plane called J-36. This image is emerging as proof of its ambition
Mobile
The operator plunges thousands of subscribers in silence
Mobile
How to Add Captions to Instagram Stories in 2025
Computing
A handy charger for every Switch Joy-Con you own is just $20
News

You Might also Like

News

A handy charger for every Switch Joy-Con you own is just $20

2 Min Read
News

AI adoption in workplace nearly doubles: Gallup

3 Min Read
News

Galaxy Watch 8 series never looked better in this new leak

2 Min Read
News

Threads to get an anti-spoiler feature for TV and movie discussions – 9to5Mac

2 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?