From: Scott Marlowe <scott.marlowe@gmail.com>
To: Bob Dusek <redusek@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: performance config help
Date: Mon, 11 Jan 2010 12:30:20 -0700
Message-ID: <dcc563d11001111130g36a750aap8965b3151d245e02@mail.gmail.com> (raw)
In-Reply-To: <61039b861001110954j67bd0efex500a91e7c2b0fd74@mail.gmail.com>
References: <61039b861001110544o2c352763q13dcf9d78a156714@mail.gmail.com>
<dcc563d11001110550s2af6d559l5db495d5e0fc6a57@mail.gmail.com>
<61039b861001110842g15bb1f26jc50b6e6762e01427@mail.gmail.com>
<4B4B08E1020000250002E185@gw.wicourts.gov>
<61039b861001110954j67bd0efex500a91e7c2b0fd74@mail.gmail.com>
On Mon, Jan 11, 2010 at 10:54 AM, Bob Dusek <redusek@gmail.com> wrote:
>> You want to use some connection pooling which queues requests when
>> more than some configurable number of connections is already active
>> with a request. You probably want to run that on the server side.
>> As for the postgresql.conf, could you show what you have right now,
>> excluding all comments?
>
> The problem with connection pooling is that we actually have to achieve more
> than 40 per second, which happens to be the sweet spot with our current
> config.
Number of parallel processes doesn't equal # reqs/second. If your
maximum throughput occurs at 40 parallel requests, you'll get more
done reducing the maximum number of concurrent processes to 40 and
letting them stack up in a queue waiting for a spot to run.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: scott.marlowe@gmail.com, redusek@gmail.com
Subject: Re: performance config help
In-Reply-To: <dcc563d11001111130g36a750aap8965b3151d245e02@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox