Welcome! Log In Create A New Profile

Advanced

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Reinis Rozitis
June 07, 2018 12:28PM
> For some new WordPress sites, I'll be deploying fastcgi_cache as reverse
> proxy / page cache, instead of usual Varnish.
>
> A commonly referenced approach is to use the 'FRiCKLE/ngx_cache_purge',
>
> https://github.com/FRiCKLE/ngx_cache_purge/
>
> ngx_cache_purge module development appears to have gone stale; no commits
> since ~ 2014.


Works just fine just for the current nginx versions you need to apply this
patch
https://github.com/FRiCKLE/ngx_cache_purge/commit/c7345057ad5429617fc0823e92e3fa8043840cef.diff
..
(or maybe the forked repo has allready this implemented).


There are some situations where nginx is "better" suited than Varnish.

In my case at one project we decided/had to switch to nginx caching from
varnish because varnish (even you are using disk based (mmap/file) backend
storage) has a memory overhead per cacheable object (like ~1Kb)

While 1Kb doesn't sound much when you start to have milions of objects it
adds up and in this case even we had several terabytes of fast SSDs the
actual bottleneck ended was there was not enough ram - the instances had
only limited 32 Gb so in general there couldnt be more than 33 milion cached
objects. Nginx on the other on the same hardware deals with 800+ milion (and
increasing) objects without a problem.


p.s. there is also obviously the ssl thing with varnish vs nginx .. but
thats another topic.

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

PGNet Dev June 06, 2018 06:08PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Robert Paprocki June 06, 2018 06:22PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

PGNet Dev June 06, 2018 06:44PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Robert Paprocki June 06, 2018 07:12PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

PGNet Dev June 06, 2018 07:20PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Robert Paprocki June 06, 2018 07:44PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Valentin V. Bartenev June 07, 2018 01:00PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Jon Franklin June 07, 2018 02:34AM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

PGNet Dev June 07, 2018 10:40AM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Reinis Rozitis June 07, 2018 12:28PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

PGNet Dev June 07, 2018 12:44PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Reinis Rozitis June 07, 2018 02:14PM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

Andrei June 12, 2018 03:06AM

Re: status/usage of FRiCKLE/ngx_cache_purge. still reliable? alternatives?

PGNet Dev June 13, 2018 09:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready