pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: amithbm <amithbm@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Hibernate over postgresql
Date: Wed, 11 Jun 2014 22:58:42 -0700 (PDT)
Message-ID: <1402552722282-5806943.post@n5.nabble.com> (raw)
In-Reply-To: <CABWW-d13vnh7W-mc95Jo8_qLZpc1RF_eRDwyaJkk8cBmLCQhoA@mail.gmail.com>
References: <1401990725669-5806233.post@n5.nabble.com>
	<CADK3HHKeH2C7ibs=W7HZ=y7XFxYStyUZ=gRF4jtYu=5WJNq2UA@mail.gmail.com>
	<1402302455842-5806473.post@n5.nabble.com>
	<CADK3HHLNXDTsbn4r+S8V+p7JV3QYSM=_7oV81O2qbTHRUvzomQ@mail.gmail.com>
	<1402467240701-5806785.post@n5.nabble.com>
	<1402471216079-5806789.post@n5.nabble.com>
	<CADK3HH+1SDgfeFu5JsbqLTq7na20Wy0Rx14imb+3pHXUGHGGDw@mail.gmail.com>
	<CABWW-d3kJkUo4TPUGQ6Gb+a7D_FjL0RfkGQt_Zg1GTKT86hpJw@mail.gmail.com>
	<1402493351100-5806824.post@n5.nabble.com>
	<CABWW-d13vnh7W-mc95Jo8_qLZpc1RF_eRDwyaJkk8cBmLCQhoA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

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



view thread (16+ messages)  latest in thread

Message-ID: <1402552722282-5806943.post@n5.nabble.com>
Permalink:  ../1402552722282-5806943.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1402552722282-5806943.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: amithbm@gmail.com
  Subject: Re: Hibernate over postgresql
  In-Reply-To: <1402552722282-5806943.post@n5.nabble.com>
  References: <1401990725669-5806233.post@n5.nabble.com> <CADK3HHKeH2C7ibs=W7HZ=y7XFxYStyUZ=gRF4jtYu=5WJNq2UA@mail.gmail.com> <1402302455842-5806473.post@n5.nabble.com> <CADK3HHLNXDTsbn4r+S8V+p7JV3QYSM=_7oV81O2qbTHRUvzomQ@mail.gmail.com> <1402467240701-5806785.post@n5.nabble.com> <1402471216079-5806789.post@n5.nabble.com> <CADK3HH+1SDgfeFu5JsbqLTq7na20Wy0Rx14imb+3pHXUGHGGDw@mail.gmail.com> <CABWW-d3kJkUo4TPUGQ6Gb+a7D_FjL0RfkGQt_Zg1GTKT86hpJw@mail.gmail.com> <1402493351100-5806824.post@n5.nabble.com> <CABWW-d13vnh7W-mc95Jo8_qLZpc1RF_eRDwyaJkk8cBmLCQhoA@mail.gmail.com> <1402552722282-5806943.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox