Welcome! Log In Create A New Profile

Advanced

Re: Nginx $upstream_cache_status not available when used in rate limiting

Francis Daly
July 20, 2016 02:18PM
On Wed, Jul 20, 2016 at 02:03:44PM -0400, linnading wrote:

Hi there,

> I assume $upstream_cache_status variable is set after requests are sent and
> responses are got. But is there a way to do do rate limiting ignoring cache?
> Really appreciate any help on this.

I'm afraid that, having read the mails, I'm not at all sure what kind
of limiting you want to do.

If 10 requests come in at the same time to-or-from the same something,
you want the last few requests to be delayed or rejected.

What is the "something" that you care about?

f
--
Francis Daly francis@daoine.org

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

Nginx $upstream_cache_status not available when used in rate limiting

Linna.Ding July 18, 2016 03:28PM

Re: Nginx $upstream_cache_status not available when used in rate limiting

linnading July 20, 2016 02:03PM

Re: Nginx $upstream_cache_status not available when used in rate limiting

Francis Daly July 20, 2016 02:18PM

Re: Nginx $upstream_cache_status not available when used in rate limiting

linnading July 20, 2016 02:52PM

Re: Nginx $upstream_cache_status not available when used in rate limiting

Francis Daly July 20, 2016 05:30PM

Re: Nginx $upstream_cache_status not available when used in rate limiting

Valentin V. Bartenev July 20, 2016 05:56PM

Re: Nginx $upstream_cache_status not available when used in rate limiting

linnading July 21, 2016 10:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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