Skip to content

Level 3 cache #358

Answered by jodydonetti
Jackpieking asked this question in Q&A
Jan 10, 2025 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @Jackpieking , the idea is that there are 2 clearly defined levels:

  • L1: memory, always there, cannot fail
  • L2: distributed (or more precisely, "out of process"), may not be there and/or fail (eg: restarts, shutdown, network issues, etc)

This design allows FusionCache to have a clear behavior, without things like "we have 2 distributed levels, 1 failed, the other didn't: what should we do?" kind of things. This, in turn, allows FusionCache to have features like smart timeouts, auto-recovery, etc.

Now, because of this, in theory 3 levels would not be ideal.

But.

You can create your own impl of IDistributedCache or IMemoryCache and pass that to FusionCache!

Inside of it you need to make …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Jackpieking
Comment options

@jodydonetti
Comment options

@Jackpieking
Comment options

@jodydonetti
Comment options

@Jackpieking
Comment options

Answer selected by Jackpieking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants