8

Is it possible to run Redis in process under .NET?

I understand the general use case is for Redis is out of process, and likely on another server. The app I'm working on has needs for both in-process caching and out of process caching. My thinking here is that I would like to use the same app/library for both the in process and out of process needs.

EBarr
  • 11,826
  • 7
  • 63
  • 85

1 Answers1

6

No, you can't do that. You should use Cache or alike in-process.

But you are definitely on the right track, doing 2 level caching (L1+L2). Stack Exchange themselves do so. See for example:

Community
  • 1
  • 1
Ofer Zelig
  • 17,068
  • 9
  • 59
  • 93