Re: Millisecond-precision connect_timeout for libpq - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Millisecond-precision connect_timeout for libpq
Date
Msg-id 25212.1373052390@sss.pgh.pa.us
Whole thread Raw
In response to Re: Millisecond-precision connect_timeout for libpq  (ivan babrou <ibobrik@gmail.com>)
Responses Re: Millisecond-precision connect_timeout for libpq
List pgsql-hackers
ivan babrou <ibobrik@gmail.com> writes:
> If you can figure out that postgresql is overloaded then you may
> decide what to do faster. In our app we have very strict limit for
> connect time to mysql, redis and other services, but postgresql has
> minimum of 2 seconds. When processing time for request is under 100ms
> on average sub-second timeouts matter.

If you are issuing a fresh connection for each sub-100ms query, you're
doing it wrong anyway ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: ivan babrou
Date:
Subject: Re: Millisecond-precision connect_timeout for libpq
Next
From: Josh Berkus
Date:
Subject: Re: Millisecond-precision connect_timeout for libpq