You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/05 18:40:35 UTC

[GitHub] [apisix] fatihbm commented on issue #6676: feat: Redis backend support for cache_strategy in proxy-cache plugin.

fatihbm commented on issue #6676:
URL: https://github.com/apache/apisix/issues/6676#issuecomment-1118926282

   I understand your performance concern. I have extended this plugin with Redis backend support. Now, it first attempts to find out in a shared dictionary. If the cached object is found it'll be returned from here (HIT), if not found, it'll attempt fetching from Redis. This stage has two situations (HIT) or (MISS). If the status is MISS, the object is stored in both Redis and the shared dictionary. The shared dictionary is used to reduce performance loss. it will only use the cache for 10 seconds.
   here we are only waiting an extra 10 seconds for the PURGE operation. Because PURGE operation just works on Redis.
   
   We have high traffic and run more than ten nodes in each data center. This development will be valuable to us. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org