Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TTCOn-0000SZ-Ef for pgsql-performance@postgresql.org; Tue, 30 Oct 2012 14:02:33 +0000 Received: from smtp.optionshouse.com ([38.98.137.6] helo=smtp.peak6.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TTCOk-0003EG-AC for pgsql-performance@postgresql.org; Tue, 30 Oct 2012 14:02:31 +0000 X-AuditID: 0a64cb20-b7f6b6d000003c0d-ba-508fddf5b269 Message-ID: <508FDDF4.2000403@optionshouse.com> Date: Tue, 30 Oct 2012 09:02:28 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Kevin Grittner CC: Catalin Iacob , Subject: Re: How to keep queries low latency as concurrency increases References: <20121030115554.306900@gmx.com> In-Reply-To: <20121030115554.306900@gmx.com> Content-Type: text/plain; charset="UTF-8"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.201.64] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPIsWRmVeSWpSXmKPExsXClcIrofv1bn+Awdet1hY9N/cxW7w8dofZ 4vrMc8wOzB47Z91l95jx5DSrx4V909gDmKMaGG0S8/LySxJLUhVSUouTbZX8C0oy8/OKPfJL i1MVXDKLk3MSM3NTi5QUMlNslYyVFApyEpNTc1PzSmyVEgsKUvNSlOy4FDCADVBZZp5Cal5y fkpmXrqtkmewv66FhamlrqGSXTwySOhkybi8ci1zQSN7xYn20ywNjOdZuxg5OSQETCRO97dA 2WISF+6tZwOxeQX0JY4cWscCYrMIqErsvvILrIZNQFdiUv8KsBohARWJvrM3mEBsfgFhiX0f mphBbFGBMInlOzczQcwRlDg58wnYHBGgOXv+3WEEsZkF/CQ+tr4GinNwCAv4S7TMsYcYqS3x b/NlsPGcAjoS+7beYYUot5BY/OYgO4QtL7H97RxmiHpViRXNE9kgzleQ+H/lHdMERqFZSDbP QtI+C0n7AkbmVYzixWWJyRmZpgXFuSUFRnoFqYnZZnp5qSWbGMGxfFphB+P3TqtDjAIcjEo8 vALb+gKEWBPLiitzDzFKcDArifDePt8fIMSbklhZlVqUH19UmpNafIjRBxhkE5mlRJPzgWkm ryTe0NjUwNTS1NDU3NTQCIewkjjvpdttAUIC6cBEkp2aWpBaBDOOiYNTqoGRaU36nYg1tiZO y4+YLfZvb7Y6e1LhddSL+Lse09catT6QnzPpqs+PvK1RTSs3NJzXXXhu9u1pxy22/2LcVPFm ZXGa/vJPP8SftumaX2G9VTN/Pztv1iNJ+f2TFt2dP32a5FRDq922n2o/RR9bIsiSE1jDerJE qSbfNSfod5V9cluc1dFvMmyLlFiKMxINtZiLihMBy1Z36xIDAAA= X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201210/381 X-Sequence-Number: 48340 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