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 2020/02/16 15:17:21 UTC

[GitHub] [incubator-apisix] agile6v opened a new issue #1127: Feature: introduce proxy caching plugin

agile6v opened a new issue #1127: Feature: introduce proxy caching plugin
URL: https://github.com/apache/incubator-apisix/issues/1127
 
 
   Hi,
   
   I want to introduce a proxy caching plugin, but there are several choices.
   
   1. Based on Nginx's built-in proxy cache in ngx_http_proxy_module, it store data on disk.
   2. Based on lua_shared_dict in ngx-lua-module, it store data on memory.
   3. Based on external storage such as redis and other redis-like storage system.
   
   Each option has its own scenario, but i think option 1 supports more functionality and less code needs to be implemented. In addition, I'd perfer to abstract these options into a plugin and then by parameters to distinguish.
   
   What do you think of? 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] membphis closed issue #1127: Feature: introduce proxy caching plugin

Posted by GitBox <gi...@apache.org>.
membphis closed issue #1127: Feature: introduce proxy caching plugin
URL: https://github.com/apache/incubator-apisix/issues/1127
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] membphis commented on issue #1127: Feature: introduce proxy caching plugin

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1127: Feature: introduce proxy caching plugin
URL: https://github.com/apache/incubator-apisix/issues/1127#issuecomment-586772330
 
 
   > * Based on Nginx's built-in proxy cache in ngx_http_proxy_module, it store data on disk.
   
   The `ngx_http_proxy_module` depends on the Nginx configuration file. We need to modify the Nginx core to use it dynamically. This is not an easy task.
   
   > * Based on lua_shared_dict in ngx-lua-module, it store data on memory.
   
   This is the simplest, 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] moonming commented on issue #1127: Feature: introduce proxy caching plugin

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #1127: Feature: introduce proxy caching plugin
URL: https://github.com/apache/incubator-apisix/issues/1127#issuecomment-586780899
 
 
   I perfer the option 1, which is more stable and easier to learn.
   and one more thing, @agile6v you can send a [DISCUSS] email to mailinglist such like architecture selection topic.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services