Welcome! Log In Create A New Profile

Advanced

Limit connections to endpoint

July 17, 2014 05:34AM
Hello,

I have a situation: opening an endpoint under location: /api/info uses a lot of resources. If ~20 people open it, the service goes down. For a several months it is impossible to improve 'info' to not kill the servce, so I have to "repair" it in other way.

It would be perfect if in nginx could limit connections to ~10 requests/seconf, from all IP to this specific endpoint. Is it possible?
Subject Author Posted

Limit connections to endpoint

vocativus July 17, 2014 05:34AM

Re: Limit connections to endpoint

Valentin V. Bartenev July 17, 2014 05:46AM

Re: Limit connections to endpoint

vocativus July 17, 2014 06:57AM

Re: Limit connections to endpoint

Valentin V. Bartenev July 17, 2014 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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