spacewander commented on issue #8423:
URL: https://github.com/apache/apisix/issues/8423#issuecomment-1376675905

   > 
   
   APISIX has a memory-based cache-proxy implementation, contributed by the 
community. This implementation is done in Lua.
   
   However, in our benchmark, the memory-based cache-proxy implementation isn't 
better than the disk implementation, see 
https://github.com/apache/apisix/pull/5028#issuecomment-931453714. Even based 
on the memory, a pure Lua implementation isn't faster than the disk-based C 
implementation.
   
   So if you think a better cache-proxy plugin should work better than squid 
server or Apache Traffic server, you need to write it as an Nginx C module. In 
my previous Job in a CDN company, I wrote a cluster-level cache server based on 
Nginx, which is almost written in C and only exposes some Lua API for 
configuration.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to