Skip to content

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

Closed

Description

@Jogai

I have both in my project anyways, which brings me to the question, does one have an advantage over the other?

Second question, does CacheManager 1.2 work with Microsoft.Extensions.Caching.Memory 2.2?

Activity

  1. MichaConrad commented on Feb 8, 2019

    @MichaConrad
    Collaborator

    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.

  2. locked and limited conversation to collaborators on May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions