How to synchronize Redis with local memory cache?

My application (NopCommerce) uses a cache service 50-150 times for each page request. When I implement a service using Redis, it slows down the page loading.

I was going to cache the results in memory and synchronize them with Redis. Are there any nuget packages or such a project?

+4
source share
1 answer

Can you give examples of how you request redis for cache purposes?

Redis , - , , , , MULTI, 50-150 - MULTI. redis, , pipelining.

, :

  • .
  • , - , , .
  • .

.

. http://skipperkongen.dk/2013/08/27/how-many-requests-per-second-can-i-get-out-of-redis/ redis, , . .

0

Source: https://habr.com/ru/post/1623570/


All Articles