Welcome! Log In Create A New Profile

Advanced

RE: nginx subrequests / background operations

bbarker5025 .
June 08, 2014 04:02PM
On Fri, Jun 6, 2014 at 10:37 PM, Ameir Abdeldayem <ameirh@gmail.com>
wrote:

> Hello Maxim,
> Thanks for your feedback. Yes, "proxy_cache_use_stale updating" does do a
> great job, but "the first request" is the first request per TTL, which
> relates to the problem we're facing.
> We run some high-profile sites, oftentimes with low TTLs (1m or so). The
> queries we run on the backend are very complex and time-consuming, and
> oftentimes take on the order of 10s to complete. Because of the low TTL,
> although most users get immediate responses, the user who makes the request
> when the entry is EXPIRED has to suffer.
> Additionally, each page load requests several resources through nginx, and
> it's happened a number of times that a single user will be the victim of
> hitting more than one EXPIRED entry, hitting the backend more than once
> (very unlucky, I know). The end result is user complaints, which would be
> mitigated entirely if we could serve the STALE entry before updating it.
> If you have any thoughts on how to improve performance in this scenario, I
> would love to hear them.
> Thanks!
> -Ameir_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx subrequests / background operations

Ameir Abdeldayem 838 June 06, 2014 12:58AM

Re: nginx subrequests / background operations

Maxim Dounin 361 June 06, 2014 08:18AM

RE: nginx subrequests / background operations

Ameir Abdeldayem 353 June 07, 2014 01:38AM

Re: nginx subrequests / background operations

Maxim Dounin 357 June 08, 2014 03:14PM

RE: nginx subrequests / background operations

bbarker5025 . 395 June 08, 2014 04:02PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 153
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