Sitemap
Press enter or click to view image in full size

Member-only story

Entire Caching Strategy will be replaced by this .NET 9 Feature

Hybrid cache in production

3 min readSep 6, 2025

You knew that I worked with the Portfolio investment project, right? So, every time a user opens their dashboard, our app hits the database to fetch stock prices, calculate portfolio values, and display transaction history.

With 10,000 users checking their portfolios multiple times a day, your database is in cry-mode like babies, and your cloud bill LOL...

Press enter or click to view image in full size

And that’s why we do Caching! And I know everybody uses that in a project. uhmm… We keep frequently used files on our desk instead of walking to the filing cabinet every time!? right

We kept that after a req and all other 99 reqs. will hit the Cache, not the database

But there is a glitch! Traditional caching meant workaround with Redis servers, managing complex configurations, and writing a lot of code lines just to store and retrieve data. But thats where the .NET 9 comes into the act..

Performance Score

We were working on something that need us to recheck our Cache implementation and that time we found…

--

--

Is It Vritra - SDE I
Is It Vritra - SDE I

Written by Is It Vritra - SDE I

Going on tech shits! AI is my pronouns