I’m currently using squid for cahcing images (CDN like) from my website
to
serv them from different server’s,
the probelm with squid it’s using lot’s of CPU usage,
can nginx do the same was squid does, storing data localy, so it won’t
need
to communicate with the origin server all the time.
I’m currently using squid for cahcing images (CDN like) from my website
to serv them from different server’s, the probelm with squid it’s using
lot’s of CPU usage, can nginx do the same was squid does, storing data
localy, so it won’t need to communicate with the origin server all the
time.
I’am sure you know this but to understand your question right.
Squid is a forwarding proxy
nginx is a webserver, with possibility to forward requests to
proxy-backends
You now want to use the nginx ‘framework’ to build a forwarding proxy as
a separate module like http and mail, is this right?
Squid is a forwarding proxy
nginx is a webserver, with possibility to forward requests to
proxy-backends
You now want to use the nginx ‘framework’ to build a forwarding proxy as
a separate module like http and mail, is this right?
i think he wants nginx to cache certain things (ie images), so nginx
would’t forward the request to proxy backend but serve the local copy
(and save bandwidth).
Almir K. [email protected] wrote: On Nov 28, 2007 7:30 PM,
Aleksandar L. wrote:
Squid is a forwarding proxy
nginx is a webserver, with possibility to forward requests to
proxy-backends
You now want to use the nginx ‘framework’ to build a forwarding proxy as
a separate module like http and mail, is this right?
i think he wants nginx to cache certain things (ie images), so nginx
would’t forward the request to proxy backend but serve the local copy
(and save bandwidth).
I’ve tried to use the proxy_store feature to cache flv files on the
nginx server,
For some reason most of the files are corrupted, when I compared the
original files to the cached I found the cached corrupted files are
little smaller (some of the more and some less smaller) then the
original.
The connection between the servers is fast and there is no congestion on
the line.
I tried to upgrade to nginx 0.6 (latest) – didn’t help.
When I cache small images everything goes well. The FLV files size
varies from 1mb to 20mb , the small (1mb) files also have the same
problem.
At the end, the player cannot play those files at all, what I do now is
running rsync between the servers, it solves me the problem but actually
its not a good solution because I need new added flv files to work
instantly without waiting for the rsync schedule.
Hi,
when i disabled the proxy_buffering it stopped the local download of the
cache totally. and the proxy temp dir was also empty.
Here is my configuration file:
when i disabled the proxy_buffering it stopped the local download of the
cache totally. and the proxy temp dir was also empty.
“proxy_buffering off” does not store response at all.
I commented it out, now i have came back to my problem with the media
files,
I don’t think that the flv_module has something to do with it, I do not
use it in my configuration file.
Most of the files that stored by proxy_store are still
corrupted/incomplete.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.