Skip to content

Difference between Microsoft.Extensions.Caching.Memory & SystemRuntimeCaching #344

Answered by MichaCo
Jogai asked this question in Q&A
Discussion options

You must be logged in to vote

Those two caches have very different implementations. The Extesions.Caching one uses ConcurrentDictionary, the SystemRuntimeCaching uses a shared memory buckets per Core as far as I know.

The Eviction and other configuration options are different two.
Depends on the platform and use cases I guess.

Regarding the 2nd questions, it should.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jogai
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
Converted from issue

This discussion was converted from issue #269 on May 31, 2021 04:02.