Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEED99E37 for ; Sat, 18 Feb 2012 12:28:02 +0000 (UTC) Received: (qmail 96162 invoked by uid 500); 18 Feb 2012 12:28:02 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 96106 invoked by uid 500); 18 Feb 2012 12:28:01 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 96092 invoked by uid 99); 18 Feb 2012 12:28:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 12:28:01 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.20.83.52] (HELO gungnir.webthing.com) (209.20.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 12:27:53 +0000 Received: from [192.168.2.4] (walkham.free-online.co.uk [80.229.52.226]) by gungnir.webthing.com (Postfix) with ESMTPSA id 7E162E8C51 for ; Sat, 18 Feb 2012 12:32:02 +0000 (UTC) References: In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Message-Id: <285ADF85-1106-4543-974E-5F9623F9D590@apache.org> Content-Transfer-Encoding: 7bit From: Nick Kew Subject: Re: how to best implement my own connection pool Date: Sat, 18 Feb 2012 12:27:30 +0000 To: modules-dev@httpd.apache.org X-Mailer: Apple Mail (2.1084) On 18 Feb 2012, at 01:53, Sam Carleton wrote: > Basically what I am looking for is the same basic connection pooling that > is implemented in the mod_dbd. Is there an easy way to do this, or will I > simple need to get into the internals of the mod_dbd to figure out what it > is doing and do it myself. Skimming through your post, it's not clear what you want that mod_dbd doesn't provide. Why not focus on that question? Once you've identified the gap, one approach might be to enhance mod_dbd, and if anything of general interest emerges, maybe propose it for inclusion upstream? The other answer is, the easy way is to use apr_reslist, which is what mod_dbd does. -- Nick Kew