Keepalive_requests on backend

Hi guys

I use

    upstream backend{
            server xxx.xxx.xxx.xxx:80;
            keepalive 40;
    }

I was wondering if this listened to “keepalive_requests”

I would like to be able to make sure the backend will only maintain a
connection for say 1000 queries before it reconnects.

Kingsley

Hello!

On Thu, Sep 22, 2011 at 08:07:24AM +0000, Kingsley F. wrote:

I would like to be able to make sure the backend will only
maintain a connection for say 1000 queries before it reconnects.

Right now nginx doesn’t set any limits on number of requests to
backend via single keepalive connection. Backend may do so.

Maxim D.

Is it worth making it a feature request?

Kingsley


From: [email protected] [[email protected]] on behalf of
Maxim D. [[email protected]]
Sent: 22 September 2011 18:07
To: [email protected]
Subject: Re: keepalive_requests on backend

Hello!

On Thu, Sep 22, 2011 at 08:07:24AM +0000, Kingsley F. wrote:

I would like to be able to make sure the backend will only
maintain a connection for say 1000 queries before it reconnects.

Right now nginx doesn’t set any limits on number of requests to
backend via single keepalive connection. Backend may do so.

Maxim D.


nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Hello!

On Thu, Sep 22, 2011 at 11:26:42AM +0000, Kingsley F. wrote:

Is it worth making it a feature request?

As long as you’ll explain why do you think it’s usefull.

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs