ZiggyCreatures / FusionCache

FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.
MIT License
1.68k stars 88 forks source link

[QUESTION] Are there any developments regarding integration with HybridCache and tags support? #273

Open valentinmarinro opened 2 months ago

valentinmarinro commented 2 months ago

Hi @jodydonetti , we are heavily using tags invalidation in our project, we have a custom implementation based on MemoryCache and Redis and we would really love to switch to FusionCache for the backplane and auto-recovery features, but the missing tags support is a blocker for us.

We saw the thread discussion with Marc Gravel here https://github.com/dotnet/aspnetcore/issues/55308#issuecomment-2156718499

Are there any new developments in this direction, for us only Redis is an option for L2 cache?

Hope I'm not too intrusive with my question :)

jodydonetti commented 1 month ago

Hi @valentinmarinro and sorry for the delay.

Hi @jodydonetti , we are heavily using tags invalidation in our project, we have a custom implementation based on MemoryCache and Redis and we would really love to switch to FusionCache for the backplane and auto-recovery features, but the missing tags support is a blocker for us.

That's interesting to hear! May I ask which design you used to tackle the issues related to tag invalidation? Did it work well for you?

We saw the thread discussion with Marc Gravel here dotnet/aspnetcore#55308 (comment)

Yep, and as you can see I have not received an official asnwer yet. Having said that I've been able to chat a bit with Marc, but I'm waiting for something official to understand what they've been able to do for .NET 9 and how to move forward.

Basically the point is that preview 7 seemingly just came out, and in general preview 7 is the last preview before the RC1/RC2 cycle, meaning it's the last possible moment where a change in the API surface area is possible: after this point, it's only invisible internal changes, perf boost, and stuff like that.

The problem is that preview 7 does not currently have an official announcement yet (I mean like on DevBlogs), and the only thing I can see is this, but I don't knwo how "final" it is.

So I'm waiting to know something "final".

Anyway, what are your thoughts about the problems I highlighted in my comment over there? Anything to share?

Are there any new developments in this direction, for us only Redis is an option for L2 cache?

Hope I'm not too intrusive with my question :)

Ahah, totally not! Ask freely about anything, I'm here to try to help 🙂

jodydonetti commented 3 weeks ago

UPDATE: DevBlogs now has a post about preview 7, but no new info about HybridCache.