Is Redis cache effective for simple windows application(management software)?

0

Issue

I want to implement caching on a simple desktop application. And I am using WPF .NET Framework. So, is Redis cache could be effective considering the portability? Or is there any best option available?

Solution

If you need a cache for a simple solution, I suggest you use the InMemory cache. But if you are making a complex solution you should definitely consider a Distributed Cache (e.g. Distributed Redis Cache
), and the reason is that Distributed Cache is:

  1. Is coherent (consistent) across requests to multiple servers.
  2. Survives server restarts and app deployments. And that’s because your cache is
    usually in a different location (e.g. Azure)
  3. Doesn’t use local memory.
  4. Is scalable

For more details for InMemory cache read

For more details for Distributed cache read

Answered By – Miloš Pantelinac

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More