PGNet Dev
June 07, 2018 12:44PM
On 6/7/18 9:27 AM, Reinis Rozitis wrote:
> this patch
> https://github.com/FRiCKLE/ngx_cache_purge/commit/c7345057ad5429617fc0823e92e3fa8043840cef.diff

Noted, thx.

> 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.

Point taken. Not an issue for my typical use case; may come up in
future, so good to remember.

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

No real "vs" or "thing" IME. nginx(ssl terminator) -> varnish -> nginx
works quite nicely.

There's also Varnish's terminator, Hitch, as an alternative,

https://www.varnish-software.com/plus/ssl-tls-support/
https://github.com/varnish/hitch

which I've been told works well; I haven't bothered since I've already
got nginx in place on the backend -- adding a listener on the frontend
is trivial.
_______________________________________________
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: 270
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready