pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@optionshouse.com>
To: Kevin Grittner <kgrittn@mail.com>
Cc: Catalin Iacob <iacobcatalin@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to keep queries low latency as concurrency increases
Date: Tue, 30 Oct 2012 09:02:28 -0500
Message-ID: <508FDDF4.2000403@optionshouse.com> (raw)
In-Reply-To: <20121030115554.306900@gmx.com>
References: <20121030115554.306900@gmx.com>

On 10/30/2012 06:55 AM, Kevin Grittner wrote:

> Is there a good transaction-based connection pooler in Python?
> You're better off with a good pool built in to the client application
> than with a good pool running as a separate process between the
> client and the database, IMO.

Could you explain this a little more? My experience is almost always the 
exact opposite, especially in large clusters that may have dozens of 
servers all hitting the same database. A centralized pool has much less 
duplication and can serve from a smaller pool than having 12 servers 
each have 25 connections reserved in their own private pool or something.

I mean... a pool is basically a proxy server. I don't have 12 individual 
proxy servers for 12 webservers.

-- 
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-444-8534
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email




view thread (18+ messages)  latest in thread

Message-ID: <508FDDF4.2000403@optionshouse.com>
Permalink:  ../508FDDF4.2000403@optionshouse.com/
Also on:    postgresql.org/message-id/508FDDF4.2000403@optionshouse.com

 · 

reply

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: sthomas@optionshouse.com, kgrittn@mail.com, iacobcatalin@gmail.com
  Subject: Re: How to keep queries low latency as concurrency increases
  In-Reply-To: <508FDDF4.2000403@optionshouse.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