Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DE5C9633549 for ; Thu, 17 Jun 2010 06:00:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 49371-07 for ; Thu, 17 Jun 2010 08:59:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp1.hi-media-techno.com (smtp1.hi-media-techno.com [195.158.241.85]) by mail.postgresql.org (Postfix) with ESMTP id A7D16632A1D for ; Thu, 17 Jun 2010 05:59:59 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by smtp1.hi-media-techno.com (Postfix) with ESMTP id 2D58D93BD9; Thu, 17 Jun 2010 10:59:58 +0200 (CEST) Received: from smtp1.hi-media-techno.com ([127.0.0.1]) by localhost (smtp1.backbone.hi-media-techno.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2CqitdFBiHAX; Thu, 17 Jun 2010 10:59:57 +0200 (CEST) Received: from mail1.hi-media-techno.com (unknown [192.168.27.17]) by smtp1.hi-media-techno.com (Postfix) with ESMTP id D68A993B87; Thu, 17 Jun 2010 10:59:57 +0200 (CEST) Received: from dim (unknown [83.167.62.196]) by mail1.hi-media-techno.com (Postfix) with ESMTPSA id CC2F47D6FE; Thu, 17 Jun 2010 10:59:57 +0200 (CEST) Received: by dim (Postfix, from userid 1000) id 936C9655D3; Thu, 17 Jun 2010 10:59:57 +0200 (CEST) From: Dimitri Fontaine To: Balkrishna Sharma Cc: Subject: Re: Parallel queries for a web-application |performance testing Organization: Hi-Media References: User-Mail-Address: dfontaine@hi-media.com Date: Thu, 17 Jun 2010 10:59:57 +0200 In-Reply-To: (Balkrishna Sharma's message of "Wed, 16 Jun 2010 13:00:22 -0400") Message-ID: <87aaquqbjm.fsf@hi-media-techno.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_20=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/306 X-Sequence-Number: 39162 Balkrishna Sharma writes: > I will have a web application having postgres 8.4+ as backend. At any giv= en time, there will be max of 1000 parallel web-users interacting with the = database (read/write) > I wish to do performance testing of 1000 simultaneous read/write to > the database. See about tsung, and either benckmarck only the PostgreSQL side of things, or at the HTTP side of things directly=C2=A0: that will run your application code against PostgreSQL. http://tsung.erlang-projects.org/ And as Kevin said, consider using a connection pool, such as pgbouncer. Once you have setup the benchmark with Tsung, adding pgbouncer and comparing the results will be easy. Regards, --=20 dim