Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WvNMY-0007DM-MQ for pgsql-jdbc@arkaria.postgresql.org; Fri, 13 Jun 2014 09:01:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WvNMY-0003x3-1S for pgsql-jdbc@arkaria.postgresql.org; Fri, 13 Jun 2014 09:01:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WvNMX-0003ww-3x for pgsql-jdbc@postgresql.org; Fri, 13 Jun 2014 09:01:29 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WvNMS-0003Fb-GG for pgsql-jdbc@postgresql.org; Fri, 13 Jun 2014 09:01:27 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WvNMO-0000aS-Sa for pgsql-jdbc@postgresql.org; Fri, 13 Jun 2014 02:01:20 -0700 Date: Fri, 13 Jun 2014 02:01:20 -0700 (PDT) From: amithbm To: pgsql-jdbc@postgresql.org Message-ID: <1402650080878-5807188.post@n5.nabble.com> In-Reply-To: References: <1402467240701-5806785.post@n5.nabble.com> <1402471216079-5806789.post@n5.nabble.com> <1402493351100-5806824.post@n5.nabble.com> <1402552722282-5806943.post@n5.nabble.com> <1402569910124-5806979.post@n5.nabble.com> Subject: Re: Hibernate over postgresql MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org An update: It turns out that my client (A) which was talking to the application (B) (Which inturn talks to the DB server(C) over plain text) did not have SSL connection caching enabled. Once I turned this on, I started getting way better performance numbers. But I'm not sure why it is behaving this way since the connection between client and the application AND application and the DB server are totally independent. So anyway, once I turned SSL caching on and I analysed the tcpdump it looked similar to the other machine in which I was getting better performance. i.e. the ACKs all started to buffer and also started to behave asynchronously. Now, the question before me is why. Why are these two connections i.e. A->B and B->C seem to be dependent. Thanks, Amith. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Hibernate-over-postgresql-tp5806233p5807188.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc