Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wuy7g-0004IE-6o for pgsql-jdbc@arkaria.postgresql.org; Thu, 12 Jun 2014 06:04:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wuy7f-0001GY-Ma for pgsql-jdbc@arkaria.postgresql.org; Thu, 12 Jun 2014 06:04:27 +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 1Wuy7e-0001F3-MX for pgsql-jdbc@postgresql.org; Thu, 12 Jun 2014 06:04:26 +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 1Wuy7a-00067P-DU for pgsql-jdbc@postgresql.org; Thu, 12 Jun 2014 06:04:25 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Wuy26-0007CR-9O for pgsql-jdbc@postgresql.org; Wed, 11 Jun 2014 22:58:42 -0700 Date: Wed, 11 Jun 2014 22:58:42 -0700 (PDT) From: amithbm To: pgsql-jdbc@postgresql.org Message-ID: <1402552722282-5806943.post@n5.nabble.com> In-Reply-To: References: <1401990725669-5806233.post@n5.nabble.com> <1402302455842-5806473.post@n5.nabble.com> <1402467240701-5806785.post@n5.nabble.com> <1402471216079-5806789.post@n5.nabble.com> <1402493351100-5806824.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 Vitalii Tymchyshyn-2 wrote > Well, I don't know anyone facing this problem with postgresql, but at tcp > level data sending delays may indicate that Naggle's algorithm is in > effect. See http://en.m.wikipedia.org/wiki/Nagle's_algorithm Thanks for the information. I read through the Nagle's algorithm and TCP_NODELAY concepts cursorily and my situation seems to be similar. i.e. the machine which is having the issue seems to be sending ACK for every request-response and not buffering it. This means that TCP_NODELAY seems to be enabled (i.e. Nagle's algorithm disabled). But in the machine that is not having issues, ACKs seem to be buffered. This means TCP_NODELAY is disabled (i.e. Nagle's algorithm enabled). Am I right in this conslusion? If so, how do I now disable TCP_NODELAY in hibernate/postgresql? There doesn't seem to be much information on the internet about this. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Hibernate-over-postgresql-tp5806233p5806943.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